Open JayBox325 opened 6 months ago
Unless i’m misunderstanding, you can access the craft element via the field:
{{ entry.linkitField.element.uri }}
Ahh, sorry, my mistake. I meant within GraphQL. It doesn't seem to return anything in my GQL queries.
Ah ok, will take a look, if you have any examples that you can share that would be really helpful.
The full path requires me to either set the DEFAULT URL on the CMS (which is different for production & local) or strip the CMS URL from the url in the front-end, which I'd rather not do.
If this could be handled by returning a
uri
this would make this a lot smoother to use.