I'm working with the linkResolver in React w/ Next.js. I get back doc.id and doc.uid. Is there anyway to access custom attributes inside of the link resolver. I have a parent field that affects the url but don't see how to get access to it without fetching a bunch of data inside the link resolver which seems pretty inefficient.
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Get associated data of the Link Object | 3 | 390 | September 26, 2022 | |
Multi-level linkResolver | 6 | 1020 | December 9, 2021 | |
linkResolver and nested paths | 20 | 3856 | December 9, 2021 | |
No data in linkResolver for RichText component | 1 | 278 | February 22, 2023 | |
Prismic Preview Linkresolver with Content Relationships | 6 | 1134 | December 9, 2021 |