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

fix updateSchema criteria #508

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

hiagolcm
Copy link
Contributor

What is the purpose of this pull request?

Update the schema every time the provider version is different instead of when it is higher.

What problem is this solving?

When the app has a provider, we update the Graphql schema in runtime. The problem is that we only update it when the version is greater than the current one.

The problem is that when you link or deprecate an app, the current schema version will not be updated.

How should this be manually tested?

Go to the workspace and link any version of the vtex.search-graphql. You will notice that the version will be updated instantly.

Types of changes

  • Bug fix (a non-breaking change which fixes an issue)
  • New feature (a non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Requires change to documentation, which has been updated accordingly.

@hiagolcm hiagolcm requested a review from a team May 17, 2022 00:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant