-
Notifications
You must be signed in to change notification settings - Fork 8
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
Deserializing an array of UuidInterface doesn't work #12
Comments
Hi ! Could you provide the entire stack trace please ? |
Thanks for the quick reply 🙂 Yes, I will boot the project after lunch. In the meantime I've changed it to use strings and will need to change that back to produce the Stack Trace. But I will comment here within the next few hours. |
@gbprod Here is the full stack trace as string:
The public function deserialize($data, string $type)
{
return $this->serializer->deserialize($data, $type, JsonEncoder::FORMAT);
} The Let me know if you need more information. |
Thanks, I'm working on a fix. |
This commit will allow deserialization of array of UuidInterface using PhpDocExtractor. Ref: #12
This commit will allow deserialization of array of UuidInterface using PhpDocExtractor. Ref: #12
This commit will allow deserialization of array of UuidInterface using PhpDocExtractor. Ref: #12
This commit will allow deserialization of array of UuidInterface using PhpDocExtractor. Ref: #12
This commit will allow deserialization of array of UuidInterface using PhpDocExtractor. Ref: #12
This commit will allow deserialization of array of UuidInterface using PhpDocExtractor. Ref: #12
This commit will allow deserialization of array of UuidInterface using PhpDocExtractor. Ref: #12
This commit will allow deserialization of array of UuidInterface using PhpDocExtractor. Ref: #12
I've pushed a fix, can you try again using v1.2.1 and give me a feedback ? Thanks |
Ah you just released 1.2.1, perfect. Yes I will try, but I will only be able to do so tomorrow. I will update you as soon as possible. Thanks for the remarkable turnaround time 🙂 |
@gbprod Works perfectly, thanks again for the fast response 🙂 |
Thanks for the feedback, I'll will improve a little this lib, every feedback or feature requests are welcomes ;) |
For now it does everything I need 🙂 I will write as soon as I can think of any feature request |
I'm using an object like the following:
And want to deserialize this object from the following JSON:
The error I get is:
My serializer is defined like the following:
Do I have to change something in my serializer setup or is this not supported by this package? If not, would it be possible to add this functionality or could you give me a hint how to add it, then I might try my hand with a pull request.
The text was updated successfully, but these errors were encountered: