We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I took two objects in this way:
$users = $this->userRepo->findAll();
So, $users is an array of two User Object that in the schema have some references to another objects. When I serialize the array:
$users = $this->serializer->serialize($users, 'json'); echo $users;
I obtain the json rapresentation of the whole object with all its references. Is there a way to limit the depth of serialization?
Thanks
The text was updated successfully, but these errors were encountered:
Did you see @MaxDepth?
Sorry, something went wrong.
Fixed schmittjoh#353 - skip custom handler to default serialization/d…
dc5d21e
…eserialization process.
No branches or pull requests
I took two objects in this way:
So, $users is an array of two User Object that in the schema have some references to another objects.
When I serialize the array:
I obtain the json rapresentation of the whole object with all its references. Is there a way to limit the depth of serialization?
Thanks
The text was updated successfully, but these errors were encountered: