Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Make schema.gql optional #91

Open
1 of 11 tasks
davidsparkles opened this issue Jul 23, 2019 · 0 comments
Open
1 of 11 tasks

Feature Request: Make schema.gql optional #91

davidsparkles opened this issue Jul 23, 2019 · 0 comments

Comments

@davidsparkles
Copy link
Collaborator

Package

  • auth
  • boot-loader / graceful-shutdown
  • config
  • db
  • events
  • file-storage
  • graphql
  • notifications
  • queue
  • schema-builder
  • server

Description / Use Case for a Feature

An empty schema.gql should not be required to make the framework start. The framework currently fails because type Mutation is inserted into the complete SDL but does not hold any mutation.

extend type Mutation {

  """
  Some Mutation
  """
  someMutation: String! @custom(resolver: "someMutation")
}

extend type Query {

  """
  Some Query
  """
  someQuery: String! @custom(resolver: "someQuery")

}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant