Skip to content
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

Fix broken getQueryWithPreviousResult return type declaration #3731

Merged
merged 2 commits into from
Jul 25, 2018

Conversation

hwillson
Copy link
Member

Release 2.3.6 broke Typescript compilation. QueryManager's getQueryWithPreviousResult method included an invalid variables return type in the auto-generated core/QueryManager.d.ts declaration file. The type definition had a locally referenced path, that appears to have been caused by the typescript compiler getting confused at compile/publish time. getQueryWithPreviousResult return types are now excplicity identified, which helps Typescript avoid the local type reference. For more details, see #3729.

Fixes #3729.

hwillson added 2 commits July 24, 2018 21:20
Release 2.3.6 broke Typescript compilation. `QueryManager`'s
`getQueryWithPreviousResult` method included an invalid
`variables` return type in the auto-generated
`core/QueryManager.d.ts` declaration file. The type definition
had a locally referenced path, that appears to have been
caused by the typescript compiler getting confused at
compile/publish time. `getQueryWithPreviousResult` return
types are now excplicity identified, which helps Typescript
avoid the local type reference. For more details, see
#3729.

Fixes #3729.
@apollo-cla
Copy link

apollo-cla commented Jul 25, 2018

Warnings
⚠️

There are library changes, but not tests. That's OK as long as you're refactoring existing code

Generated by 🚫 dangerJS

@hwillson hwillson merged commit a504bca into master Jul 25, 2018
@hwillson hwillson deleted the hwillson/ts-import-fix branch July 25, 2018 01:33
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 17, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants