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 structured JSON output types #8457

Merged
merged 3 commits into from
Apr 5, 2023
Merged

Conversation

borisno2
Copy link
Member

@borisno2 borisno2 commented Apr 5, 2023

When using the structured JSON field with structure in GraphQL the return value was {value: someValue} but the GraphQL did not line up with this which caused a GraphQL runtime error. This PR makes fixes this so it returns x.value.

@changeset-bot

This comment was marked as resolved.

@borisno2 borisno2 changed the title Fix sturctured JSON output types Fix structured JSON output types Apr 5, 2023
@codesandbox-ci
Copy link

codesandbox-ci bot commented Apr 5, 2023

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit a6befcf:

Sandbox Source
@keystone-6/sandbox Configuration

@dcousens dcousens merged commit e03cbe9 into main Apr 5, 2023
@dcousens dcousens deleted the fix-sturctured-output-types branch April 5, 2023 07:59
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