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

Improve alignment of directive behavior with GraphQL spec #1524

Merged

Conversation

bramvanneerven
Copy link
Contributor

Before, only the skip and include directives were included in schema introspection. This PR adds all built-in directives to the introspection result (always), and to the SDL export (only when they are used) to better align with the latest GraphQL working draft specification.

Fixes #1187.

@bramvanneerven bramvanneerven changed the title Add directives in introspection Improve alignment of directive behavior with GraphQL spec May 18, 2024
@bramvanneerven
Copy link
Contributor Author

All tests pass now, and I added some tests to verify the correctness of the changes.
Ready to merge if you approve of the changes @sunli829.

@sunli829 sunli829 merged commit 758ad6b into async-graphql:master May 19, 2024
7 checks passed
@sunli829
Copy link
Collaborator

thanks! 🙂

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

Successfully merging this pull request may close these issues.

Oneof directive not included in introspection result
2 participants