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 updateByNodeId bug #2064

Merged
merged 13 commits into from
May 10, 2024
Merged

Fix updateByNodeId bug #2064

merged 13 commits into from
May 10, 2024

Conversation

benjie
Copy link
Member

@benjie benjie commented May 10, 2024

Our test coverage wasn't sufficient to catch a bug in Beta22 related to updating records by their NodeID. This PR fixes the bug and increases test coverage in this area, checking what happens with a valid ID, a null, an invalid ID, and omitting the ID entirely. It also synchronizes the approach between condition steps and patch steps.

Copy link

changeset-bot bot commented May 10, 2024

🦋 Changeset detected

Latest commit: 437570f

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 15 packages
Name Type
graphile-build-pg Patch
postgraphile Patch
grafast Patch
graphile-utils Patch
pgl Patch
graphile Patch
@localrepo/grafast-bench Patch
@dataplan/json Patch
@dataplan/pg Patch
@grafserv/persisted Patch
grafserv Patch
ruru-components Patch
@localrepo/grafast-website Patch
graphile-build Patch
graphile-export Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

…cifically in update mutations, but probably elsewhere too) related to early exit.
@benjie benjie merged commit 8968cc4 into main May 10, 2024
36 checks passed
@benjie benjie deleted the fix-update-by-node-id-bug branch May 10, 2024 17:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

1 participant