Skip to content

Conversation

@twuebi
Copy link
Contributor

@twuebi twuebi commented Nov 11, 2025

No description provided.

Comment on lines +71 to +74
if version.SchemaID != schema.ID {
version.SchemaID = schema.ID
}
version.VersionID = versionId
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We could also return an error on mismatch instead

Copy link
Member

@zeroshade zeroshade left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

unit test?

Comment on lines +67 to +68
// override the corresponding view version fields with the following values.
versionId := int64(1)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why are we overriding the version.VersionID with 1?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can remove, was thinking it may be better to have a predictable starting point vs whatever is passed in

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