Closed jaulz closed 3 years ago
Hi @jaulz,
Could provide me the full backtrace of the exception, not sure where this is happening.
@rubenvanassche the exception was triggered by PHP itself I think. Though, eventually I just made it like in the examples in the docs and used separate classes that extend DataTransferObject
. Thanks anyway! 😊
Thanks for this great library as it worked pretty well so far for me. Though, now I face an issue when I define properties on my models:
which is correctly transformed to:
However, PHP complains now:
Any idea how I can avoid this error? I also tried to use default values for the properties but then again my models lose the actual database values.
If I define them like this I can avoid the PHP error but then the Typescript type is also nullable:
P.S.: I use PHP 8.0