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

Warn on incompatible schemas #525

Open
waldekmastykarz opened this issue Jan 26, 2024 · 1 comment
Open

Warn on incompatible schemas #525

waldekmastykarz opened this issue Jan 26, 2024 · 1 comment
Labels
enhancement New feature or request help wanted We'd appreciate your help

Comments

@waldekmastykarz
Copy link
Collaborator

waldekmastykarz commented Jan 26, 2024

Now that we aligned versioning schemas with proxy versions, we should show a warning when the user tries to load a config file that uses a schema with a different version than the current proxy version. The warning should include a download link for the corresponding release. In the v0.x range, let's not assume backwards compatibility and check for exact match.

@waldekmastykarz waldekmastykarz added enhancement New feature or request help wanted We'd appreciate your help labels Jan 26, 2024
@garrytrinder
Copy link
Contributor

We currently have this in the Dev Proxy Toolkit where we check that the schema version matches the installed version of Dev Proxy and show a warning if they are not the same. Additionally we provide a code action to update the schema version to align with the installed version. This currently is only applied to config files, so we should expand it other files that contain a devproxy schema.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted We'd appreciate your help
Projects
None yet
Development

No branches or pull requests

2 participants