Package version
7.3.0
Describe the bug
Because of the new "type safe" idea for inertia pages and properties its no longer possible using custom and dynamic structures.
I have a big project which has some form of plugins. Each plugin lies in its own folder with own controllers, models and also frontend components.
Now when using the inertia render function the IDE always complains because the page component path is a string, but should be a "never". Also the optional second parameter is required and no longer optional and forces me to use transformers for my page props although those are already strict typed and correctly serialized as im using mongoose schemas for this.
Sadly v7 breaks my whole project and forces me to use additional and absolutely unnecessary code and structures.
Reproduction repo
No response
Package version
7.3.0
Describe the bug
Because of the new "type safe" idea for inertia pages and properties its no longer possible using custom and dynamic structures.
I have a big project which has some form of plugins. Each plugin lies in its own folder with own controllers, models and also frontend components.
Now when using the inertia render function the IDE always complains because the page component path is a string, but should be a "never". Also the optional second parameter is required and no longer optional and forces me to use transformers for my page props although those are already strict typed and correctly serialized as im using mongoose schemas for this.
Sadly v7 breaks my whole project and forces me to use additional and absolutely unnecessary code and structures.
Reproduction repo
No response