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

How to override *.gql and *.graphql files from Nuxt Layer? #478

Open
lna1989 opened this issue Mar 29, 2024 Discussed in #472 · 0 comments
Open

How to override *.gql and *.graphql files from Nuxt Layer? #478

lna1989 opened this issue Mar 29, 2024 Discussed in #472 · 0 comments

Comments

@lna1989
Copy link

lna1989 commented Mar 29, 2024

Discussed in #472

Originally posted by lna1989 March 11, 2024
The "./layer/query/ship.gql" file is present in the Layer and in the project I want override ship.gql . How do this?

Example: https://stackblitz.com/edit/nuxt-starter-kr8arq?file=nuxt.config.ts

Expected result:

If a file with the same name as layer is present in the project, then it must have priority, and it must be used.

Actual result:

I see error in console - "Error: Not all operations have an unique name: ships".

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

1 participant