Skip to content
Discussion options

You must be logged in to vote

The ReloadSchemaIndicator is really just logic that gives true or false. By default, it will always use the cached schema for obvious performance reasons. You implement a ReloadSchemaIndicator with whatever logic you need to decide "I need to build a fresh schema".
At Netflix we detect when we run on a developer machine (as opposed to the cloud), and always reload the schema in that case.

You could maybe trigger an event based on the user making a change to the database and set it to reload.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@oguztozkoparan
Comment options

Answer selected by oguztozkoparan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants