soniq
soniq copied to clipboard
Feature Request: Make schema.gql optional
Package
- [ ] auth
- [ ] boot-loader / graceful-shutdown
- [ ] config
- [ ] db
- [ ] events
- [ ] file-storage
- [ ] graphql
- [ ] notifications
- [ ] queue
- [x] 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")
}