You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
✏️ Describe the bug
I'm currently implementing Inertia 2.0. I'm using laravel-data (4.13.2) together with laravel-typescript-transformer (2.5.1). I have the following object:
✏️ Describe the bug
I'm currently implementing Inertia 2.0. I'm using laravel-data (4.13.2) together with laravel-typescript-transformer (2.5.1). I have the following object:
Which is instantiated by calling this:
When I do the typescript conversion I dont get the paginated properties:
When I remove the union, like so:
I do get the paginated properties:
↪️ To Reproduce
Provide us a pest test like this one which shows the problem:
See description above
✅ Expected behavior
I would expect, when part of the union that the typescript type would come out like this (just as without using the union):
🖥️ Versions
Laravel: 11.44.2
Laravel Data: 4.14.1
PHP: 8.3.15
The text was updated successfully, but these errors were encountered: