gatsby-source-prismic-graphql
gatsby-source-prismic-graphql copied to clipboard
How to create a linkResolver if I have used extraPageFields to generate my pages
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!
@birkir @Duaner could you please help out on this?