Apollo Federation and Federated Contracts in TypeGraphql #1282
Unanswered
dash-tobin
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have a use case to create an endpoint on one of three Apollo Federated Graphs in my environment. I'd like to use the concept of Federated Contracts (instead of creating a separate schema and publishing this schema separately). I'm struggling to find any documentation on the concept of Contracts in TypeGraphQL.
Contracts (although limited) are available in Apollo Federation v1. In AFv1 I am aware I will have to create a separate mutation and resolver, although this isn't ideal It's better than creating a new schema and the support to publish this schema in my pipelines.
Contracts - Federation v1 Limitations
I have seen this example - TypeGraphQL Apollo Federation . I dont see an example of the concept of contracts.
I have read the docs. Advanced Docs - TypeGraphQL. I don't see this mentioned.
Q1. Is Federated Contracts available to me in type-graphql (as directives, etc.)?
Q2. Are multiple schema files supported?
Q3. Next best solution?
Q4. Is there an initiative to support this in the future?
Beta Was this translation helpful? Give feedback.
All reactions