StellateHQ / stellate-strawberry

3 stars 1 forks source link

Schema sync via extension #3

Open patrick91 opened 5 months ago

patrick91 commented 5 months ago

Hi, I was wondering if it would be cool to have a way to do the schema sync via the extension, so users don't have to add the additional function :)

This is not supported in Strawberry, but maybe we can implement something 😊

JoviDeCroock commented 5 months ago

Hey 👋

Great to see you exploring this! In the Apollo/Yoga we use the onSchemaChange hook which in server-environments gets called when the schema updates (only relevant in Federation) and in serverless environments gets invoked on every invocation.

Not sure whether that's something that would be appealing for you lot but I do think that's a good solution for the schema syncing in particular.