-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
GraphQL: Augmented GraphQL Schema (SDL) #5900
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
Comments
My worry with this project is that it's going to get lost pretty quickly due to a lack of balance between documentation and improvement. I think we should create some balance before things go out of hand. |
@GoGross I also have this concern. Communicating the features really well through the docs is as important as creating new features. I had actually started building the docs for these PRs but, because of the recent GraphQL discussions around changing the current API, I left it on hold until we have done the breaking changes we expect. But any help here is really appreciated and I think we could accelerate the missing docs. Would be willed to help us on this? |
I think that PRs concerning the configuration of the |
Yes. That's also a good idea. Let's do this for the next PRs. |
Introduce Augmented GraphQL Schema (SDL)
In response of #5894
I would like to propose and discuss the introduction of an
SDL
system. The main objective will be to help developers improve their GraphQL Server Parse and enable many more features in the future without modifying the Parse Server Core.Augmented TypeDef file: schema.graphql
@auto
: Describe a current Parse class and add auto generationAll other fields will be auto generated
@disableMutations
: Disable all mutation or some mutations on the typeOR
@disableQueries
: Disable all queries or some queries on the typeOR
@private
: Do not expose a type or a field (in query and input)@lock
: Create/update aParse.Schema
and lock theClass
schemaWe will create/update the appropriate
Parse.Schema
. A new way to useParse.Schema
@mock
: Allow to generate fake datas in devmode
Allow developers to add description on generated fields
Provide a
Mutation
loadSchema
that allow to send this schema to the serverNeed Master Key
What do you think about this @davimacedo ?
The text was updated successfully, but these errors were encountered: