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
Hello,
any help plz; i need to deserialize entity by id . () ManyToone. Invalid data 1 (integer), expected
any idea?
The text was updated successfully, but these errors were encountered:
same issue, if you have any update on this.. the only thing that worked for me is to add merge before persist but its deprecated..
$serializer = SerializerBuilder::create()->build(); $block = $serializer->deserialize($encodedData, 'App\Entity\Block', 'json'); $block = $manager->merge($block); // persist $manager->persist($block); $manager->flush();
Sorry, something went wrong.
this has been documented in schmittjoh/serializer#1308
No branches or pull requests
Hello,
any help plz;
i need to deserialize entity by id . () ManyToone.
Invalid data 1 (integer), expected
any idea?
The text was updated successfully, but these errors were encountered: