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: remove the raise Invalid version when instantiating a version 0 #911

Merged
merged 1 commit into from
Jul 2, 2024

Conversation

eliax1996
Copy link
Contributor

… This is required due to back compatibility, in the past was possible to create schema with version 0, we should deny creating new versions starting from 0 but not raising an issue if this is done during the load of the previous schema

About this change - What it does

References: #xxxxx

Why this way

… This is required due to back compatibility, in the past was possible to create schema with version 0, we should deny creating new versions starting from 0 but not raising an issue if this is done during the load of the previous schema
@eliax1996 eliax1996 requested review from a team as code owners July 2, 2024 10:44
Copy link

github-actions bot commented Jul 2, 2024

Coverage report

Click to see where and how coverage changed

FileStatementsMissingCoverageCoverage
(new stmts)
Lines missing
  karapace
  typing.py
Project Total  

This report was generated by python-coverage-comment-action

@nosahama nosahama merged commit c6a0948 into main Jul 2, 2024
9 checks passed
@nosahama nosahama deleted the eliax1996/fix-version-0-is-invalid branch July 2, 2024 11:46
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.

2 participants