Help with Lazy Loading #66
-
Hi guys, Thanks for the cool extension. I tried to start using it, I followed the documentation and create some endpoints. But whenever I try to access them I'm getthing the following exception:
I'm using LazyLoading for some modules to speed up my app. Any help is appreciated. |
Beta Was this translation helpful? Give feedback.
Answered by
klamparski
Aug 3, 2022
Replies: 1 comment 6 replies
-
Hi @sapfeer0k. Could you please provide the code of the entity class? |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@sapfeer0k You are right, unfortunately we are missing that part of documentation and I don't really know when we will be able to fill it.
However excluding properties from serialization process is pretty simple and you even already use it for your GET collection endpoint. You just need to configure serialization group for the endpoint and then assign this group to the property you want to include in response.
Endpoint declaration:
Property declaration: