[vscode extension] Duplicate fragment names in different projects #2402
Answered
by
benatshippabo
benatshippabo
asked this question in
General
-
Hi, so we have several projects defined in our projects:
server:
schema: 'server/packages/server/schema.graphql'
documents: 'server/packages/**/*.{js,ts}'
frontend:
schema: 'server/packages/server/schema.graphql'
documents: 'frontend/packages/*/src/**/*.{js,ts,tsx,graphql}' This is our simplified monorepo file structure:
We have fragments with the same name in both projects: # frontend
fragment UserContactFields on User {
_id
name
email
phone
address
}
# server
fragment UserContactFields on User {
_id
name
email
} But going to the definition of a usage in the My question is if the fragments are in different projects, why does going to the definition of a fragment in one project take us to a different project's fragment? Is this expected behavior? |
Beta Was this translation helpful? Give feedback.
Answered by
benatshippabo
Jul 26, 2022
Replies: 1 comment
-
Duplicated by #2379 |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
benatshippabo
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Duplicated by #2379