I'm having the same issue as is described here. The thread doesn't come to a resolution. Only that you looked at the REPO. Was it unresolved?
I have pages 2 segments deep - '/page/page/' and having difficulty using the linkResolver. I can get the correct path from a relationship field but it's the richtext field that doesn't return the documents relationship field. Only the data that is described in the thread.
To quote from above thread
"Are you building your project with Gatsby & GraphQL? because if that's the case you won't be able to access the document data to get the urlPrefix in the rich text field. It's just a limitation of these technologies. All though it would work in the link field if you pass the correct data to the link resolver."
I am using a relationship field. How would I send this to the link resolver?
When I log what goes through the linkresolver.js I can see the problem. Here are the output for two different links.
Output hidden to public
See 2 result has data.section.uid which provides the slug to build the correct link /page/page/ but the first result doesn't have these fields? Do you know why?
Also the difference between the two fields above is the top output is a relationship field in a group field... We also get this output from a slice field that carries a rich-text field within it.
I'm not sure if that impacts the output or not?