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

Sync execution TS definitions with Flow. #2106

Merged
merged 1 commit into from Aug 23, 2019

Conversation

JacksonKearl
Copy link

Specifically:
Create tstypes/jsutils/Path.d.ts and pull some utility functions out to there (as is done in the implementation)
Add typeResolver options

Specifically:
Create jsutils/Path.d.ts and pull some utility funcs out to there
Add typeResolver options
JacksonKearl pushed a commit to JacksonKearl/graphql-js that referenced this pull request Aug 23, 2019
Specifically:
Add `extensions` field in lots of places
Reorder fields

Both this and graphql#2106 add Path.d.ts, but they're the same. If theres a merge conflict, just pick one.
@IvanGoncharov IvanGoncharov merged commit 7d9ad14 into graphql:master Aug 23, 2019
@IvanGoncharov
Copy link
Member

@JacksonKearl Excellent work 👍
Merged 🎉

@IvanGoncharov IvanGoncharov added the PR: bug fix 🐞 requires increase of "patch" version number label Aug 23, 2019
IvanGoncharov pushed a commit that referenced this pull request Aug 23, 2019
* Sync type TS definitions with Flow
Specifically:
Add `extensions` field in lots of places
Reorder fields

Both this and #2106 add Path.d.ts, but they're the same. If theres a merge conflict, just pick one.

* `unknown` => `any`, to target TS@2.6

* Widen `introspectionTypes` type to `GraphQLType[]`

* use Maybe<Readonly<Record<...>>> as `extension` type

* Remove `ResponsePath` export (now `jsutils/Path`)

* More removal of `ResponsePath`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR: bug fix 🐞 requires increase of "patch" version number
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants