-
Hi, First I want to say this lib is very cool, thank you Spawnia ! I use it in a project and works great to help building. I got a problem when trying to create an input from MyInput::fromStdClass() because in the response from the API I got the field __typename for each entry. And so I don't understand why it block the creation of my ObjectLike ? Is it a bug or is there a way to handle that ? Thks |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Sorry I got my answer if works if I take the right class ! No bug of course ;-) |
Beta Was this translation helpful? Give feedback.
-
Hi Spawnia, Ok in fact now I really got a problem with __typename if I use your last version. But what happen now is that when generating the class with the shopify api, you have a property called __typename that is not always return (result from batch operation) and when I try to recreate object with fromStdClass It throw an error. Could you advise on how I should do to handle this case ? Thank you. |
Beta Was this translation helpful? Give feedback.
Sorry I got my answer if works if I take the right class ! No bug of course ;-)