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

Allow model return types for attributes #49

Merged

Conversation

OliverBeckwith
Copy link
Contributor

This lets attributes that return another model to have appropriate TS types generated. This is useful for when there is a related model (possibly with additional logic around it) that is more complex than a simple relation would be used for.

@OliverBeckwith
Copy link
Contributor Author

@Luukdewaaier

@Luukdewaaier Luukdewaaier merged commit 46657b9 into scrumble-nl:master Mar 20, 2024
5 checks passed
@OliverBeckwith OliverBeckwith deleted the feature/model-attributes branch March 20, 2024 11:45
@Luukdewaaier
Copy link
Member

@OliverBeckwith Thanks for your contribution. I have created a new release (10.3.0).

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