Skip to content

Conversation

@BoD
Copy link
Collaborator

@BoD BoD commented Oct 29, 2025

  • Introduce Cache.fieldPolicies: Map<String, FieldPolicies> generation.
    FieldPolicyCacheResolver now takes this as a parameter and uses it instead of keyArgs in CompiledField.
  • Introduce a more flexible KeyArgumentsCacheResolver that takes a lambda to determine the key arguments
  • Rename IdCacheKeyResolver to IdCacheResolver and simplify.
  • Make listItemsInParent private again
  • Replace Set by List in TypePolicy and EmbeddedFields, because the order is important (see Use deterministic order for type policy keyFields and field policy keyArgs #243)

@BoD BoD marked this pull request as ready for review October 30, 2025 17:06
@BoD BoD requested a review from martinbonnin as a code owner October 30, 2025 17:06
@BoD BoD merged commit 7cba952 into main Oct 31, 2025
2 checks passed
@BoD BoD deleted the generate-field-policies branch October 31, 2025 08:59
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.

3 participants