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

[Feature] Return data from referenced fields, rather than just an item ID #172

Open
tomelliot opened this issue Oct 3, 2024 · 0 comments

Comments

@tomelliot
Copy link

Return data from referenced fields, rather than just an item ID.
Currently getting data out of a CMS item that has referenced fields requires lots of lookups

  • what field has the reference
  • what CMS is being referenced
  • what item do I need from that CMS
  • what field do I need from the referenced CMS item

It’d be great if Get Collection Item (on the original CMS item) just returned the referenced CMS item as a nested object, or there was a function in the library that took in the reference field from the original CMS item and returned the object from the referenced CMS.

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

No branches or pull requests

1 participant