-
-
Notifications
You must be signed in to change notification settings - Fork 61
Embeddable as part of composite primary key #682
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
|
We need tests, I can add them but please, send me a real usecase :) What's your usage? |
|
I have composite primary key that consist of relation (that works fine) and Entity is like this: And I need to work with date ranges a lot, so it makes sense for me to store it in a special object (for type safety, constraints checks, …). Thank you! |
|
Ok, that's an important detail: the whole embeddable is part of the PK. Thx :) |
|
@MartinLojda Could you please provide an example of how you (how do you want to) query such rows during |
|
I'm thinking about |
f382442 to
e26db5f
Compare
|
Is there anything I can do to help for this MR to be merged into main and released? Thanks for the info ;-) |
|
Actually yes, I wanted to try out querying and add a test for it. |
Can you be more specific? What can I do? Writing tests is not my strong suit, nevertheless… |
First attemp of fixing issue #575