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

fix: build client schema have custom scalar value mixed type #1536

Conversation

vuongxuongminh
Copy link
Contributor

Currently, the serialize function of scalar type made by GraphQL\Utils\BuildClientSchema class will cast value to string but it should return raw value instead for consistent with GraphQL\Utils\BuildSchema and in GraphQL spec not have any notes said value of scalar types must be string https://graphql.org/learn/schema/#scalar-types

This PR to solve the problem above

@vuongxuongminh vuongxuongminh force-pushed the fix-build-client-schema-have-custom-scalar-value-mixed-type branch from b29752e to 850393a Compare March 10, 2024 08:55
@spawnia spawnia merged commit 4cd9ac2 into webonyx:master Mar 10, 2024
13 checks passed
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.

2 participants