Skip to content

feat: add argument configuration#10

Merged
Aenimus merged 17 commits intomainfrom
david/eng-3753-add-argument-configuration
Sep 5, 2023
Merged

feat: add argument configuration#10
Aenimus merged 17 commits intomainfrom
david/eng-3753-add-argument-configuration

Conversation

@Aenimus
Copy link
Copy Markdown
Member

@Aenimus Aenimus commented Aug 24, 2023

Motivation and Context

@linear
Copy link
Copy Markdown

linear Bot commented Aug 24, 2023

ENG-3753 Federate arguments properly and provide configuration to router

required + optional = required

optional + optional = optional

required + required = required

optional + missing = missing

required + missing = error

@Aenimus Aenimus marked this pull request as ready for review September 5, 2023 19:48
@Aenimus Aenimus requested a review from JivusAyrus September 5, 2023 19:48
@Aenimus Aenimus merged commit 48d909f into main Sep 5, 2023
@Aenimus Aenimus deleted the david/eng-3753-add-argument-configuration branch September 5, 2023 20:24
SkArchon added a commit that referenced this pull request Nov 26, 2025
* add

* fix: a

* added

* fix: updates

* upfates 7

* a 1

* a

* there

* aa

* updates
jensneuse added a commit that referenced this pull request Apr 24, 2026
…18)

- #9: buildExplicitMappings accumulates composite @openfed__is mappings
  instead of returning on the first composite, so alternative @key
  directives on the same field still emit their own EntityKeyMappingConfig
- #10: nested auto-mapping runs the same extra-argument invalidation check
  as flat-key mappings via new shared helper invalidateAutoMappingWithExtraArgument
- #11: add missing `version` argument to the negativeCacheTTL failure test
- #18: buildCompositeIsMapping normalizes argInfo.isFieldValue before key
  lookup so "sku id" matches an "id sku" key

Thread #8 (coderabbit: error on @queryCache interface return) investigated
and refuted — rules 37 / 37b in entity-cache-mapping-rules.test.ts assert
this case must succeed with no warning because concrete implementations
carry @entityCache.

Thread #17 (coderabbit: unwrap NonNull in typesMatchIncludingListShape)
investigated and refuted — rule 15b, 40, 40b, 40c encode the opposite
semantics: explicit @openfed__is is lenient about NonNull when named type
matches, nested auto-mapping is strict. composition/CLAUDE.md lines
142-146 were stale and misled review tooling; corrected in this commit.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants