Skip to content

Validation for publishing a GraphQL Document #243

@jasonbahl

Description

@jasonbahl

Currently GraphQL Documents can be published without any "required" information, such as a GraphQL Document or query alias.

We should add validation that prevents a document from transitioning to the "publish" state if it doesn't have a valid graphql document.

Since the Query Aliases are generated on save, perhaps we might only need a valid document, but without both the queries shouldn't be in a published state.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions