Skip to content

My getter implementation is being changed on load #3900

Answered by B4nan
xenoterracide asked this question in Q&A
Discussion options

You must be logged in to vote

Right, I know what's happening. The getter is supposed to be defined only for the "serialized primary key", which is a way the ORM handles ObjectId/string duality in mongo (so kinda the same as you are trying, but for ObjectIds). But it is used regardless of how you define the entity, because of how we setup the metadata defaults.

Replies: 1 comment 9 replies

Comment options

You must be logged in to vote
9 replies
@xenoterracide
Comment options

@B4nan
Comment options

@xenoterracide
Comment options

@B4nan
Comment options

@xenoterracide
Comment options

Answer selected by xenoterracide
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #3899 on January 04, 2023 16:14.