Skip to content
Discussion options

You must be logged in to vote

.Metadata(m => m.LastModified.MapTo(x => x.LastModified) - MapTo automatically pulls the value from mt_last_modified and update within your doc LastModified when data is fetched. Marten does not store the value within the serialized JSON in data. This is right behaviour and there is no issue as such.

Also note that once you Store (first creation), only a next fetch afresh will show the data populated for LastModified.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by jacek13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #3959 on November 18, 2025 09:37.