Skip to content

fix(payload): #6800, #5108 - graphql query concurrency issues - #6857

Merged
denolfe merged 4 commits into
mainfrom
fix/graphql-concurrency
Jun 25, 2024
Merged

denolfe merged 4 commits into
mainfrom
fix/graphql-concurrency

Conversation

@jmikrut

@jmikrut jmikrut commented Jun 19, 2024 •

Copy link
Copy Markdown
Member

Description

Fixes #6800 and #5108 by improving the isolateObjectProperty utility function and flattening req.transactionID and req.transactionIDPromise to a single req.transactionID property.

  • I have read and understand the CONTRIBUTING.md document in this repository.

Type of change

  • Bug fix (non-breaking change which fixes an issue)

Checklist:

  • I have added tests that prove my fix is effective or that my feature works
  • Existing test suite passes locally with my changes

@wkentdag

Copy link
Copy Markdown

thanks for jumping on this so quickly, @jmikrut! I'm hoping to incorporate this fix into a launch that's currently on hold. Do you have an expected timeline for getting the PR merged? No worries if it's still a work in progress—I can adapt to using REST in the meantime. thanks again 🙏

@denolfe
denolfe merged commit bb911cc into main Jun 25, 2024
@denolfe
denolfe deleted the fix/graphql-concurrency branch June 25, 2024 18:57
@denolfe

denolfe commented Jun 25, 2024

Copy link
Copy Markdown
Member

@wkentdag This was just released in https://github.com/payloadcms/payload/releases/tag/v2.22.1

@PatrikKozak PatrikKozak mentioned this pull request Jun 25, 2024
4 tasks done
jmikrut pushed a commit that referenced this pull request Jul 8, 2024
## Description

This is the beta (v3) PR for the v2 PR
[here](#6857)

Addresses #6800, #5108

- [x] I have read and understand the
[CONTRIBUTING.md](https://github.com/payloadcms/payload/blob/main/CONTRIBUTING.md)
document in this repository.

## Type of change

- [x] Bug fix (non-breaking change which fixes an issue)

## Checklist:

- [x] I have added tests that prove my fix is effective or that my
feature works
- [x] Existing test suite passes locally with my changes
paulpopus pushed a commit that referenced this pull request Jul 24, 2024
## Description

This is the beta (v3) PR for the v2 PR
[here](#6857)

Addresses #6800, #5108

- [x] I have read and understand the
[CONTRIBUTING.md](https://github.com/payloadcms/payload/blob/main/CONTRIBUTING.md)
document in this repository.

## Type of change

- [x] Bug fix (non-breaking change which fixes an issue)

## Checklist:

- [x] I have added tests that prove my fix is effective or that my
feature works
- [x] Existing test suite passes locally with my changes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

GraphQL returns inconsistent results for relationships

3 participants