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

Adds types for references when only returning uid and _content_type_uid #133

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

sroebert
Copy link

For references, if include[] does not contain them, the API returns only uid and _content_type_uid, instead of the whole type. Currently only whole types are generated for references with tsgen. This PR adds another built-in type that only has uid and _content_type_uid to match the default returned type.

@sroebert sroebert requested a review from a team as a code owner September 11, 2024 14:40
@sroebert sroebert force-pushed the feature/reference-id-only branch from 037df09 to a212798 Compare September 12, 2024 06:24
@sroebert
Copy link
Author

sroebert commented Oct 3, 2024

Would be great to get some feedback on this.

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.

1 participant