Skip to content

Conversation

@Mockird31
Copy link
Collaborator

feature: pass ModRevision field from kv.KeyValue structure to integrity.ValidatedResult

Added ModRevision field to integrity.ValidatedResult. Tests have been supplemented with ModRevision checks.

Closes #23

@Mockird31 Mockird31 force-pushed the mockird31/gh-23-extend-validated-result branch from 9cf31b8 to 9488c97 Compare December 23, 2025 14:52
@Mockird31 Mockird31 requested a review from bigbes December 23, 2025 15:00
namedValue, err := typed.Get(ctx, "my-object")
require.NoError(t, err)
assert.Equal(t, "my-object", namedValue.Name)
assert.Equal(t, int64(0), namedValue.ModRevision)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Same pls, add ModRevision checks with predefined in expectedKVs here.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

done

Copy link
Collaborator

Choose a reason for hiding this comment

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

Still checking modRevision for zero value, you need to check it for predefined in expectedKVs value.

@Mockird31 Mockird31 force-pushed the mockird31/gh-23-extend-validated-result branch from 9488c97 to adf3108 Compare December 23, 2025 18:14
Added ModRevision field to integrity.ValidatedResult. Tests have been
supplemented with ModRevision checks.

Closes #23
@Mockird31 Mockird31 force-pushed the mockird31/gh-23-extend-validated-result branch from adf3108 to f621c6a Compare December 23, 2025 18:17
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.

feature: pass ModRevision field from kv.KeyValue structure to integrity.ValidatedResult

3 participants