strawberry icon indicating copy to clipboard operation
strawberry copied to clipboard

Schema hot reload

Open gcemaj opened this issue 2 years ago • 1 comments

Would it be possible to reload the schema at runtime?

Feature Request Type

  • [ ] Core functionality
  • [x] Alteration (enhancement/optimization) of existing feature(s)
  • [ ] New behavior

Description

Support for dynamic schema alteration, a way to refresh the schema during run time.

gcemaj avatar Jun 01 '22 17:06 gcemaj

Not sure if this works for your use case, but have you seen the reload option of uvicorn already?

skilkis avatar Jun 02 '22 16:06 skilkis

@gcemaj I'll close the issue since this is something you can do via unicorn or your web framework of choice 😊

If you meant something different, let us know!

patrick91 avatar Oct 12 '22 09:10 patrick91