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: remove collection findByID caching #5034

Merged
merged 1 commit into from
Feb 16, 2024
Merged

Conversation

DanRibbens
Copy link
Contributor

Description

Given a workflow with hooks where a document is read using findByID, then the document is updated or deleted, then another findByID is called on that document, the original cached version is returned innacurrately.

  • 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:

  • Existing test suite passes locally with my changes

@denolfe
Copy link
Member

denolfe commented Feb 15, 2024

Any performance concerns with removing this?

@DanRibbens
Copy link
Contributor Author

James said that this was already removed in the 3.x branch. This was something we had from before dataloader was added making this irrelevant.

@DanRibbens DanRibbens merged commit 1ac943e into main Feb 16, 2024
31 checks passed
@DanRibbens DanRibbens deleted the fix/stale-findbyid-chache branch February 16, 2024 18:23
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