Closed nurdism closed 1 year ago
this fixes #31 without breaking changes and addresses #32 as well
Thanks for the pr! reviewing shortly
@tcampbPPU what do you think about the TS date type expecting an object vs a Laravel endpoint response always coming back as a json - do we keep it an option to go text? or make the switch making it an option to make it a date?
added another option --optional-nullables: Output nullable attributes as optional fields
yea I think union type works fine from @nurdism suggestion
@nurdism if you can please:
@acidjazz updated the requested changes
this pr adds 4 new options to the cli
--no-relations: Do not include relations --optional-relations: Make relations optional types --no-hidden: Do not include hidden model attributes --timestamp-strings: Output timestamps as strings