Skip to content

[AT-34] Fixed client identity reporting#940

Merged
JakeDawkins merged 3 commits intomasterfrom
jake/reporting
Feb 12, 2019
Merged

[AT-34] Fixed client identity reporting#940
JakeDawkins merged 3 commits intomasterfrom
jake/reporting

Conversation

@JakeDawkins
Copy link
Copy Markdown
Contributor

@JakeDawkins JakeDawkins commented Jan 29, 2019

Issue

One operation (getSchemaByTag) wasn't reporting the correct client to engine, so it was showing up as the default (Apollo-language-server).

Cause

The EngineSchemaProvider created an instance of ApolloEngineClient, but wasn't passing it the clientIdentity (because it didn't have that).

Fix

I added an item to the constructor of EngineSchemaProvider for client identity and made sure it was being passed through schemaProviderFromConfig

@JakeDawkins JakeDawkins changed the title Fixed client identity reporting [AT-34] Fixed client identity reporting Jan 29, 2019
Copy link
Copy Markdown
Contributor

@trevor-scheer trevor-scheer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment thread CHANGELOG.md
- `apollo-language-server`
- Fix language server mis-reporting client identity for schema loading operation [#940](https://github.com/apollographql/apollo-tooling/pull/940)
- `vscode-apollo`
- Fix graphql comments not being highlighted correctly [#907](https://github.com/apollographql/apollo-tooling/pull/907)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for adding this one in 😄

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

giphy-2

@JakeDawkins JakeDawkins merged commit 2d20856 into master Feb 12, 2019
@JakeDawkins JakeDawkins deleted the jake/reporting branch February 12, 2019 21:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants