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 document caching and add tests #3810

Merged
merged 2 commits into from Dec 13, 2023
Merged

Fix document caching and add tests #3810

merged 2 commits into from Dec 13, 2023

Conversation

Shane32
Copy link
Member

@Shane32 Shane32 commented Dec 5, 2023

MemoryDocumentCache was essentially useless, not passing on cached documents to the document executer, nor storing parsed documents and saving them in the cache. Broke during 7.0 transition to IConfigureExecution in #3272 . Added tests to ensure the cache's ExecuteAsync method works correctly in the future.

@Shane32 Shane32 added this to the 7.7 milestone Dec 5, 2023
@Shane32 Shane32 self-assigned this Dec 5, 2023
@Shane32 Shane32 linked an issue Dec 5, 2023 that may be closed by this pull request
@github-actions github-actions bot added the test Pull request that adds new or changes existing tests label Dec 5, 2023
@Shane32 Shane32 added bugfix Pull request that fixes a bug and removed test Pull request that adds new or changes existing tests labels Dec 5, 2023
@Shane32 Shane32 changed the title Fix caching and add tests Fix document caching and add tests Dec 5, 2023
@Shane32
Copy link
Member Author

Shane32 commented Dec 5, 2023

@gao-artur are we ready to release 7.7 after this PR ? if so, i'll issue the release after merging.

@gao-artur
Copy link
Contributor

@Shane32, yes, we are ready.

@Shane32 Shane32 merged commit 0423cfe into master Dec 13, 2023
12 checks passed
@Shane32 Shane32 deleted the fix_caching2 branch December 13, 2023 14:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix Pull request that fixes a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

GraphQl.MemoryCache ExecutionOptions.Document is always null
2 participants