Open kdawgwilk opened 1 year ago
Describe the solution you'd like
I would like to describe a schema config that lives in a schema registry such as Hive or Apollo engine
const supergraphConfigSchemaRegistry = { 'apollo-engine': { engine: { apiKey: process.env.APOLLO_KEY!, }, graph: '<GraphId>', variant: '<GraphVariant>', }, }
Describe alternatives you've considered
If I could pass an async function to the schema config prop I could do this fetching myself to load the schema from some remote service
Additional context
https://the-guild.dev/graphql/codegen/docs/config-reference/schema-field#apollo-engine
Could I do this with an extension and loader?
Describe the solution you'd like
I would like to describe a schema config that lives in a schema registry such as Hive or Apollo engine
Describe alternatives you've considered
If I could pass an async function to the schema config prop I could do this fetching myself to load the schema from some remote service
Additional context
https://the-guild.dev/graphql/codegen/docs/config-reference/schema-field#apollo-engine