Kilian Schulte
Kilian Schulte
I finally published this as part of prerelease `2.0.0-dev.8`
This behavior now changes in version 2 (see prerelease 2.0.0-dev.7), so this should not be a problem anymore.
@nblum37 any updates?
I will close this now. If the issue persists in the newest version (2.0.0-dev.8) please reopen.
I think this just isn't maintained anymore. There was no activity by the owner for a long time on any issue or pr. I have forked this for my own...
Fyi. I needed this for a project so I made a widget that can do this. I thought others that find this issue could need this as well, so here...
Try using 'afterEncode' instead of 'beforeEncode' in the hook.
Currently the ignoreNull is only implemented for a single class, not a single field. But it seems like a nice feature to add.
Sorry I misread the issue the first time. @2x2xplz is right, ignoring fields is as simple as leaving them out of the constructor.
I see. Your right I think this is currently not possible.