Skip to content

graphql: strict type validation #689

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

Merged
merged 8 commits into from
Mar 27, 2020
Merged

graphql: strict type validation #689

merged 8 commits into from
Mar 27, 2020

Conversation

olegrok
Copy link
Contributor

@olegrok olegrok commented Mar 26, 2020

This patchset is a port of tarantool/graphql.0#180 by @Totktonada

See commit messages for the references.

This patchset solves a problem then we don't validate arguments that are passed via variables for nullability-non-nullability

@Totktonada
Copy link
Member

AFAIR, query_util was extracted in graphql.0 to reuse it in avro_schema generation for a query. Maybe you don't need to move the code here.

I had several non-standard types: Long, Map, InputUnion, InputMap. Please, verify that they don't leak here.

Please also consider to to open a PR to https://github.com/tarantool/graphql.

@olegrok
Copy link
Contributor Author

olegrok commented Mar 26, 2020

@Totktonada

Please also consider to to open a PR to https://github.com/tarantool/graphql.

Will do

@olegrok olegrok force-pushed the graphql-refactor branch 3 times, most recently from 708c8f4 to 76cb56d Compare March 26, 2020 13:56
@olegrok
Copy link
Contributor Author

olegrok commented Mar 26, 2020

@olegrok olegrok mentioned this pull request Mar 26, 2020
@olegrok olegrok force-pushed the graphql-refactor branch 2 times, most recently from a00090f to f7fb3ed Compare March 26, 2020 16:41
@rosik rosik merged commit bbb9d83 into master Mar 27, 2020
@rosik rosik deleted the graphql-refactor branch March 27, 2020 14:08
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.

3 participants