Skip to content

Do not store fields that have a 0 maxAge #114

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

Merged
merged 2 commits into from
Apr 2, 2025
Merged

Conversation

BoD
Copy link
Collaborator

@BoD BoD commented Apr 1, 2025

Fix for #84.

This is done at the Normalizer level, which now can be configured with a MaxAgeProvider.

Also, consider interfaces in SchemaCoordinatesMaxAgeProvider - we could already put a @CacheControl on interfaces, but they were not taken into account when considering a field of an implementing type.

@BoD BoD requested a review from martinbonnin as a code owner April 1, 2025 18:14
@BoD BoD merged commit 4a7010c into main Apr 2, 2025
2 checks passed
@BoD BoD deleted the do-not-store-based-on-max-age-0 branch April 2, 2025 13:31
@BoD BoD added this to the v0.0.9 milestone Apr 2, 2025
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.

1 participant