Always load primary key #3582
-
I'm using Hot Chocolate with Entity Framework (Core). I would like to extend my entities using In my particular scenario, I have a Now I would like to define two additional, calculated fields on the
I would use However, this What would be the right way to guarantee that more data from the original entity can be accessed, at least the Note I believe the same problem would occur if I had defined the resolvers for the two additional fields on the entities themselves, but I want to make sure I describe the scenario as I'm using it and I've defined my entity classes in a separate project with no Hot Chocolate dependencies. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
@ronaldvdv
This will always project the ID |
Beta Was this translation helpful? Give feedback.
@ronaldvdv
You can do
This will always project the ID