Skip to content

Commit

Permalink
composition: add validation for @OverRide (#602)
Browse files Browse the repository at this point in the history
The `@override` directive does not work with connector-related subgraphs
due to internal implementation details, so this commit adds validation
rules to error if any `@override` directive tries to override fields
from connector-aware subgraphs.

Since there are breaking changes in connector-related code in
`apollo-federation`, this commit also pins the version of upstream to a
specific git revision.

---------

Co-authored-by: Lenny Burdette <lenny@apollographql.com>
  • Loading branch information
nicholascioli and lennyburdette authored Dec 20, 2024
1 parent 31c2219 commit a242cd2
Show file tree
Hide file tree
Showing 3 changed files with 683 additions and 341 deletions.
Loading

0 comments on commit a242cd2

Please sign in to comment.