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

directive examples #75

Open
mfulton26 opened this issue Dec 9, 2023 · 1 comment
Open

directive examples #75

mfulton26 opened this issue Dec 9, 2023 · 1 comment

Comments

@mfulton26
Copy link

I see that directives can be passed into buildGraphQLSchema() but I haven't yet figured out how to use a directive on anything. e.g. I'd like to use @oneof on an Object Input Type or @key on an Object Type (for @apollo/subgraph).

Can some directive examples be added to the examples folder and/or to the README/docs?

@mfulton26
Copy link
Author

For reference on how @oneof would work: graphql/graphql-js#3513

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

No branches or pull requests

1 participant