Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cli: metadata apply should not clear_metadata #6115

Closed
tirumaraiselvan opened this issue Nov 2, 2020 · 0 comments
Closed

cli: metadata apply should not clear_metadata #6115

tirumaraiselvan opened this issue Nov 2, 2020 · 0 comments
Labels
c/cli Related to CLI p/high candidate for being included in the upcoming sprint

Comments

@tirumaraiselvan
Copy link
Contributor

tirumaraiselvan commented Nov 2, 2020

replace_metadata clears the metadata while also keeping track of incremental schema cache generation. But, currently we are explicitly clearing the metadata (via clear_metadata) first :

query := HasuraInterfaceBulk{

This totally voids the benefits of incremental schema cache generation. For example, it recreates event trigger functions even if they are not changed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c/cli Related to CLI p/high candidate for being included in the upcoming sprint
Projects
None yet
Development

No branches or pull requests

1 participant