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: json column key start with an underscore is missing #116

Merged
merged 2 commits into from
Jul 27, 2022

Conversation

n3n
Copy link
Contributor

@n3n n3n commented Jul 12, 2022

https://github.com/hasura/ra-data-hasura/blob/master/src/getResponseParser/sanitizeResource.ts#L3

As I understand this line will skip GraphQL reserved names but the reserved name starts with two underscores.

So it affects to JSON column that contains key field which starts with an underscore

image1
Screen Shot 2022-07-12 at 12 14 47

image2
Screen Shot 2022-07-12 at 12 16 12

image3
Screen Shot 2022-07-12 at 12 17 12

@n3n n3n changed the title fix: json column key start with an underscore is disappear fix: json column key start with an underscore is missing Jul 12, 2022
@arjunyel arjunyel merged commit b757809 into hasura:master Jul 27, 2022
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