I've been racking my brain on this. In Prismic I have Rich Text content with links. I've linked them directly to content but the graphql response comes back with href=""
Hey, thanks for reaching out. This is very strange if the response is correct. Is this field inside a Slice or is it a top level field?
Because If it's a top level field, unfortunately the options raw and html won't be available. Instead you will get a 'spans' object that you can use to detect where a link goes by giving you the start and end of the array, like so:
If this is not the case, I can do a check in your repo. You just need to send me the URL of your repository and the query you are using to get that value
Hello, I'm testing your endpoint, and I and indeed seeing something strange in the href response of the linked documents. But before making any further assumptions, I'd like to make a few other tests.
I forgot to ask you about your gatsby-node file code. Could you also share this with me? Either here or in a private dm, as you prefer.
How are you handling your dynamic routes? This step is crucial for route generation. Usually, the homepage is a static page inside the /pages directory, and all dynamic routes are inside /templates