Skip to content

Commit

Permalink
Support @join__directive(graphs, name, args) directives (#2894)
Browse files Browse the repository at this point in the history
  • Loading branch information
benjamn authored Jan 12, 2024
1 parent f69a069 commit 931f87c
Show file tree
Hide file tree
Showing 12 changed files with 745 additions and 2 deletions.
6 changes: 6 additions & 0 deletions .changeset/real-comics-stare.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@apollo/composition": minor
"@apollo/federation-internals": minor
---

Support `@join__directive(graphs, name, args)` directives
1 change: 1 addition & 0 deletions .cspell/cspell-dict.txt
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,7 @@ subgpraph
subgrahs
SUBGRAPHA
SUBGRAPHB
SUBGRAPHC
subraph
subraphs
Substrat
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ directive @join__unionMember(graph: join__Graph!, member: String!) repeatable on
directive @join__enumValue(graph: join__Graph!) repeatable on ENUM_VALUE
directive @join__directive(graphs: [join__Graph!], name: String!, args: join__DirectiveArguments) repeatable on SCHEMA | OBJECT | INTERFACE | FIELD_DEFINITION
directive @mytag(name: String!) repeatable on FIELD_DEFINITION | OBJECT | INTERFACE | UNION | ARGUMENT_DEFINITION | SCALAR | ENUM | ENUM_VALUE | INPUT_OBJECT | INPUT_FIELD_DEFINITION | SCHEMA
directive @tag(name: String!, prop: String!) on FIELD_DEFINITION | OBJECT
Expand All @@ -49,6 +51,8 @@ enum join__Graph {
scalar join__FieldSet
scalar join__DirectiveArguments
type Query
@join__type(graph: SUBGRAPHA)
@join__type(graph: SUBGRAPHB)
Expand Down
Loading

0 comments on commit 931f87c

Please sign in to comment.