Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support TypeScript Hidden Properties #820

Merged

Conversation

hfoletto
Copy link
Contributor

@hfoletto hfoletto commented Jul 9, 2024

When using the typescript-transformer package, it's possible to describe properties as Hidden: https://spatie.be/docs/typescript-transformer/v2/dtos/typing-properties#content-hidden-types

That doesn't work at the moment when using Data classes from laravel-data because the DataTypeScriptTransformer doesn't look for that attribute.

This PR address this issue.

@hfoletto hfoletto changed the title feat: Support TypeScript Hidden Properties Support TypeScript Hidden Properties Jul 10, 2024
@rubenvanassche
Copy link
Member

Thanks!

@rubenvanassche rubenvanassche merged commit fa39967 into spatie:main Jul 25, 2024
11 of 12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants