gatsby-source-prismic-graphql icon indicating copy to clipboard operation
gatsby-source-prismic-graphql copied to clipboard

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

Open kb1995 opened this issue 5 years ago • 1 comments

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 avatar May 07 '20 07:05 kb1995

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

kb1995 avatar May 13 '20 19:05 kb1995