Skip to content

fix(subgraph): support @contact directive in printSubgraphSchema#1096

Merged
trevor-scheer merged 9 commits intoapollographql:version-0.xfrom
lennyburdette:schema-directives
Nov 20, 2021
Merged

fix(subgraph): support @contact directive in printSubgraphSchema#1096
trevor-scheer merged 9 commits intoapollographql:version-0.xfrom
lennyburdette:schema-directives

Conversation

@lennyburdette
Copy link
Copy Markdown
Contributor

@lennyburdette lennyburdette commented Oct 15, 2021

Print @contact directive on schema nodes from the printSubgraphSchema function

Fixes #1094

@trevor-scheer trevor-scheer force-pushed the schema-directives branch 2 times, most recently from 53b0b88 to 92fcec5 Compare November 4, 2021 20:12
@trevor-scheer trevor-scheer marked this pull request as ready for review November 4, 2021 20:13
@trevor-scheer trevor-scheer changed the title fix: support schema directives in printSubgraphSchema fix(subgraph): support @contact directive in printSubgraphSchema Nov 4, 2021
Comment thread subgraph-js/src/directives.ts Outdated
@lennyburdette
Copy link
Copy Markdown
Contributor Author

New directive buckets and comments are very clear and helpful!

Copy link
Copy Markdown
Member

@glasser glasser left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for taking the suggestion I sent you in Slack! I think this is a lot easier to wrap my head around.

Comment thread federation-js/src/composition/compose.ts Outdated
lennyburdette and others added 8 commits November 19, 2021 16:17
how they're used and how they end up in the schema.

Break dependency of supergraph printing from list exported by
subgraph package since this dependency doesn't really make sense.
The supergraph should know internally what it supports and how it
should print.
@trevor-scheer trevor-scheer merged commit 479a7a9 into apollographql:version-0.x Nov 20, 2021
@trevor-scheer trevor-scheer removed their request for review November 20, 2021 01:08
trevor-scheer added a commit that referenced this pull request Nov 22, 2021
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