Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show slug with prefix in graphql #7

Open
ishigami opened this issue Aug 25, 2022 · 1 comment
Open

Show slug with prefix in graphql #7

ishigami opened this issue Aug 25, 2022 · 1 comment

Comments

@ishigami
Copy link

Hi @dimitrov-adrian

First of all. Thanks for this extension. It helps a lot.

I have a question, but I don't know if it is a issue.

I'm working with graphql to make the queries in my collections.

And I have a collection named Projects. An this collection have a slug field, with a prefix defined (project-). i've put this prefix in the Interface and the Display sections.

But when I get the slug field through the graphql query, the slug cames without the prefix.

Is it the normal behavior or is it an issue?

Thanks again for your time.

@dimitrov-adrian
Copy link
Owner

Yes, actually this is the correct behaviour. I am using prefix/suffix mostly for the external link building and in app they are handled independently.

Option for storing them as well will be quite ease to add, just I am not sure how usable this will be.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants