Skip to content

Conversation

@jasonbahl
Copy link
Collaborator

@jasonbahl jasonbahl commented May 1, 2024

What does this implement/fix? Explain your changes.

This fixes a bug where Node IDs are not being output by the QueryAnalyzer when a resolver uses the load_many() method of the DataLoader.

This bug can lead to issues with tag-based caching / tag-based cache invalidation as some nodes might not be getting tagged as expected.

Does this close any currently open issues?

closes #3101

Any other comments?

Given the scenario outlined in #3113:

Before

The Node IDs are not present in the Query Analyzer output

CleanShot 2024-04-30 at 22 18 06@2x

After

The Node IDs are present in the Query Analyzer output

CleanShot 2024-04-30 at 22 16 48@2x

@jasonbahl jasonbahl self-assigned this May 1, 2024
@qlty-cloud-legacy
Copy link

Code Climate has analyzed commit 294f8b7 and detected 0 issues on this pull request.

View more on Code Climate.

@coveralls
Copy link

Coverage Status

coverage: 84.309% (+0.02%) from 84.289%
when pulling 294f8b7 on jasonbahl:fix/3113-node-id-tracking-with-load-many
into a66f3e1 on wp-graphql:develop.

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