You can see that there's much less generated code for some reason, but what bothers me more is that the ?array native types disappeared from both getters and setters.
Expected behavior
The code should be the same in both cases, since they are semantically equivalent to the best of my understanding.
However, more importantly, the native types should not be missing after the change: the calculated types are exactly the same.
Describe the bug
The following diff:
produces the following change: https://github.com/pmmp/DataModels/commit/46eab454f5e3c2498f3a84e8065ed9702f27a58f
You can see that there's much less generated code for some reason, but what bothers me more is that the
?array
native types disappeared from both getters and setters.Expected behavior The code should be the same in both cases, since they are semantically equivalent to the best of my understanding.
However, more importantly, the native types should not be missing after the change: the calculated types are exactly the same.
Schema https://github.com/pmmp/DataModels/blob/46eab454f5e3c2498f3a84e8065ed9702f27a58f/schema/PluginListYml.json
https://github.com/pmmp/DataModels/blob/46eab454f5e3c2498f3a84e8065ed9702f27a58f/generate-schemas.php
Version: 0.12.7.