Skip to content

Commit

Permalink
fix changeset pkg scope (#3614)
Browse files Browse the repository at this point in the history
  • Loading branch information
acao authored May 28, 2024
1 parent 85fd989 commit 4fa615d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .changeset/rotten-seahorses-fry.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
'graphql-language-service-server': minor
'vscode-graphql': minor
'graphql-language-service-server-cli': minor
'graphql-language-service-cli': minor
---

Fix many schema and fragment lifecycle issues, not all of them, but many related to cacheing.
Expand Down
5 changes: 3 additions & 2 deletions .changeset/wet-toes-mate.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
'graphql-language-service-server': minor
'graphql-language-service-cli': patch
'vscode-graphql': patch
---

Expand Down Expand Up @@ -40,13 +41,13 @@ export default {
import { type LocateCommand } from 'graphql-language-service-server';

// relay LSP style
const languageCommand = (projectName: string, typePath: string) => {
const locateCommand = (projectName: string, typePath: string) => {
const { path, startLine, endLine } = ourLookupUtility(projectName, typePath);
return `${path}:${startLine}:${endLine}`;
};

// an example with our alternative return signature
const languageCommand: LocateCommand = (projectName, typePath, info) => {
const locateCommand: LocateCommand = (projectName, typePath, info) => {
// pass more info, such as GraphQLType with the ast node. info.project is also available if you need it
const { path, range } = ourLookupUtility(
projectName,
Expand Down

0 comments on commit 4fa615d

Please sign in to comment.