Skip to content

Commit

Permalink
fixed this binding for parse in monaco-graphql
Browse files Browse the repository at this point in the history
  • Loading branch information
acao committed Mar 8, 2022
1 parent ab83198 commit e4f0fda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/monaco-graphql/src/LanguageService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ export class LanguageService {
}

private _cacheSchema(schemaConfig: SchemaConfig) {
const schema = this._schemaLoader(schemaConfig, this.parse);
const schema = this._schemaLoader(schemaConfig, this.parse.bind(this));
return this._schemaCache.set(schemaConfig.uri, {
...schemaConfig,
schema,
Expand Down

0 comments on commit e4f0fda

Please sign in to comment.