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

RFC: SchemaExtension #362

Closed
OlegIlyenko opened this issue Apr 23, 2018 · 2 comments
Closed

RFC: SchemaExtension #362

OlegIlyenko opened this issue Apr 23, 2018 · 2 comments
Milestone

Comments

@OlegIlyenko
Copy link
Member

spec: graphql/graphql-spec#428

@OlegIlyenko OlegIlyenko added this to the v1.4.1 milestone Apr 23, 2018
@paulpdaniels
Copy link
Contributor

I think also equally important is could this also be added to the docs page as well? This feels like a huge feature and yet there isn't anything about it on https://sangria-graphql.org/learn/, so I'm not sure exactly how it would apply to my current projects.

@OlegIlyenko
Copy link
Member Author

Good point 👍 I will add more info on how type and schema extensions work. There is already some info on this in "High-level SDL-based Schema Builder" and "Schema Materialization Example", but they only describe extend type. This particular issue adds the following syntax in the SDL:

extend schema @extraDirective {
  mutation: MutationType
}

It would add additional operations and extra directives to the materialized schema. Although the issue title sounds exciting, it doesn't really add anything significant. It just provides more flexibility for a schema {...} SDL definition.

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

2 participants