Hydrating custom objects using MongoDB with Panache #44049
-
My entities have a custom object (used as an external identifier). The creation of the custom object needs request level information (request context) such as some sort of tenant or partition id. Is it possible to handle the persist using the repository pattern such that when Documents are converted to POJOs, the specific property/field is correctly hydrated? The property is already hydrated using a custom codec. |
Beta Was this translation helpful? Give feedback.
Answered by
UbiquitousBear
Oct 28, 2024
Replies: 1 comment 2 replies
-
/cc @FroMage (panache), @loicmathieu (mongodb,panache) |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@loicmathieu Indeed; I'm using a custom codec to build an entity, but I'm going to close this discussion as I'm incorrectly approaching it