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: Modified the DSL.jsonEntry (closes #7) #8

Merged
merged 1 commit into from
Sep 23, 2024

Conversation

nihxdr
Copy link
Contributor

@nihxdr nihxdr commented Sep 18, 2024

I wanted a resolution quickly, so made following update

I couldn't test this completely. Please verify.

This closes the issue #7

Previously the jsonEntry was
```
is ColumnField -> {
    DSL.jsonEntry(
             alias,
             DSL.field(DSL.name(field.name))
    )
}
```

Modified that so that, the issue of aliasing is resolved
```
is ColumnField -> {
    DSL.jsonEntry(
             alias,
             DSL.field(DSL.name(alias))
    )
}
```
@GavinRay97
Copy link
Member

Good catch, thank you!

@GavinRay97 GavinRay97 merged commit 441f6b0 into hasura:main Sep 23, 2024
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