8000 entgql: fixed zero value on `first`/`last` when receive `null` input by giautm · Pull Request #601 · ent/contrib · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

entgql: fixed zero value on first/last when receive null input #601

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 1 commit into from
Sep 7, 2024

Conversation

giautm
Copy link
Collaborator
@giautm giautm commented Sep 7, 2024

GQLGen changed its behavior in 99designs/gqlgen#3162 to return a zero value for null.

Which causes first / last to receive the 0 value, and fail the check for supplying both first and last

GQLGen changed its behavior in 99designs/gqlgen#3162 to return a zero value for `null`.

Which causes `first` / `last` to receive the 0 value, and fail the check for supplying both `first` and `last`
@giautm giautm requested a review from a8m September 7, 2024 11:30
@giautm giautm merged commit 316dcd5 into master Sep 7, 2024
4 checks passed
@giautm giautm deleted the g/zero branch September 7, 2024 11:44
Adam-Mustafa pushed a commit to FinTronners/contrib that referenced this pull request Mar 4, 2025
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
0