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.