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

Use concepts and type traits instead of specializing service::isInputType() for each input type #249

Merged
merged 6 commits into from
May 11, 2022

Conversation

wravery
Copy link
Contributor

@wravery wravery commented May 10, 2022

This applies to both GraphQLService.h/schemagen and GraphQLClient.h/clientgen. While I was at it, I also ported a few recent changes from schemagen to clientgen.

Since the service::isInputType() template function is no longer declared in the shared headers, and the generated headers no longer specialize it for each input type, neither set of headers is backwards compatible with the other from before this change. I bumped the minor version to force regenerating with matching headers.

@wravery wravery merged commit eb81bbd into microsoft:main May 11, 2022
@wravery wravery deleted the simplify-input-types branch May 11, 2022 00:05
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.

None yet

1 participant