-
Notifications
You must be signed in to change notification settings - Fork 23
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
Modernization 3 #161
Modernization 3 #161
Conversation
@@ -28,7 +28,7 @@ import { | |||
DiagnosticSeverity, | |||
} from "vscode-languageserver/node"; | |||
import LZString from "lz-string"; | |||
import { stringifyUrl } from "query-string"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
New versions of "query-string"
are ESM only and I really don't want to touch the build process of the Extension right now.
@@ -412,7 +412,7 @@ export class GraphQLClientProject extends GraphQLProject { | |||
this.frontendUrlRoot ?? "https://studio.apollographql.com"; | |||
|
|||
const variant = this.config.variant; | |||
const graphId = this.config.graph; | |||
const graphId = this.studioGraphId; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If I have a config file like
module.exports = {
client: {
service: {
name: "localSchema",
localSchemaFile: "./starwarsSchema.graphql",
},
},
};
graphId
would be localSchema
- of course, linking to studio for that is kinda useless, but that's exactly what the extension did until now.
fedd51f
to
6c675d6
Compare
"vscode-apollo": patch | ||
--- | ||
|
||
Only show "Run in Studio" gutter action for local graphs if an endpoint is configured. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not 100% sure.. it seems like a good idea, but might someone get use from a link to explorer that doesn't fill in the endpoint?
My gut says removing this is the right thing, but I'd love a second opinion.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💯
No description provided.