Skip to content
Discussion options

You must be logged in to vote

The hasura cli's hasura metadata reload relies on the reload metadata api internally. You could use this to trigger a reload without restarting the server.

You will however need access to hasura and the admin secret. There's not really a way to avoid this.
However, you could fully automate this in such a way that hasura reloads itself whenever the conditions for reloading are met.

For example, if you want to reload metadata whenever a record is added to a specific table, you could add an event trigger that calls the reload metadata api. Whether this is the correct path forward depends on your application logic.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by adas98012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
General
Labels
None yet
2 participants