Multiple definitions for query
See original GitHub issueIssue Description
Do you mind taking a look at this starter? I am getting the error show below in vscode-apollo
, and I’m not sure if I should start here, or with vscode-apollo
. It almost seems like it could be happening because the query exists in the image
component, as well as in plugin-documents.graphql
.
I’ve noticed this same error in other repositories, and from time to time it will make the plugin crash. Disabling one or the other of
// apollo.config.js
includes: [
`${__dirname}/src/**/*.{ts,tsx}`,
`${__dirname}/.gatsby/graphql/plugin-documents.graphql`,
], // eslint-disable-line graphql/template-strings
will fix the error, but then I don’t get full support from the plugin.
If this is not an issue caused by a conflict between gatsby-plugin-typegen
and vscode-apollo
, or a misconfiguration, but is instead an issue solely with vscode-apollo
, then I will open an issue there.
Issue Analytics
- State:
- Created 3 years ago
- Comments:14 (14 by maintainers)
Top Results From Across the Web
Multiple Definition Queries on the same Data Sourc...
Support for multiple definition queries associated with a layer is only available in Pro (starting 2.3 release). When you have a layer with ......
Read more >Filter features with definition queries—ArcGIS Pro
A layer can have multiple definition queries associated with it, but only one definition query can be active at a time. Even with...
Read more >There are multiple definitions for the operation and ... - GitHub
I'm updating from 1.10.0 to 1.17.0. I changed the build script phase to use the new Apollo CLI.
Read more >mysql select view_definition returns multiple definitions
I am trying to get view definition query for a given view in the database. SELECT VIEW_DEFINITION FROM INFORMATION_SCHEMA.
Read more >Definitions | Query and analyze data - Mode Support
A Definition is a saved SELECT statement that can be referenced in other SQL queries. Definitions allow you to write business logic in...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Same problem.
I think I have found one issue:
will return
So,
path.resolve()
is returning non-posix compliant paths on Windows, while thetrackedSource
entries are (semi) posix compliant.If I change that section to normalize
componentPath
:I get the desired results
I will copy the conversation to a new issue