Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

How to create a linkResolver if I have used extraPageFields to generate my pages #205

Open
kb1995 opened this issue May 7, 2020 · 1 comment

Comments

@kb1995
Copy link

kb1995 commented May 7, 2020

I have used a field "category" to generate a sub directory for my paths. I now need to create a linkResolver, but the problem is that I can't get the field "category" within my path info.

According to https://prismic.io/docs/reactjs/beyond-the-api/link-resolving , I get access to the document's type, uid, etc, but not the other fields.

Any advice is appreciated!

@kb1995
Copy link
Author

kb1995 commented May 13, 2020

@birkir @Duaner could you please help out on this?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant