Skip to content

Stop persisting computed ETag fields into RavenDB documents - #5838

Merged
warwickschroeder merged 2 commits into
masterfrom
warwick/fix-versiondata
Sep 1, 2026
Merged

warwickschroeder merged 2 commits into
masterfrom
warwick/fix-versiondata

Conversation

@warwickschroeder

Copy link
Copy Markdown
Contributor

IVersionedRow.VersionFields is a computed property that exists only to feed ETag computation, but RavenDB's serialiser persists it into the stored documents. It appears wherever a type is both the storage shape and the API row shape, which is CustomCheck and the two retry-operation types nested inside RetryHistory. This changes the member from a property to a method, GetVersionFields(): serialisers do not serialise methods, so the problem cannot recur on any type or any serialiser.

@warwickschroeder
warwickschroeder merged commit 0fb16db into master Sep 1, 2026
69 of 70 checks passed
@warwickschroeder
warwickschroeder deleted the warwick/fix-versiondata branch September 1, 2026 05:00
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.

3 participants