Closed Smedzlatko closed 8 years ago
I've not looked to reproduce it directly, but you are correct the behavior should be that the id
is populated. Not sure when I'll get to it, if you can find the fix and submit a PR with a unit test that'd certainly speed up the process.
I made a pull request #49 to solve this bug.
@okabe-is thanks, merged. @Smedzlatko please test if you get a chance, I'll be cutting a release with this fix soon.
Initializing Statement from JSON does not auto init its id even if the id is present in the JSON object.
Example:
Correct me if I am wrong but I would expect to set the Id automatically whenever it is present in the JSON and fill in null only if it is missing.