-
Notifications
You must be signed in to change notification settings - Fork 1
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
GraphQL API #159
GraphQL API #159
Conversation
8ddd5d5
to
30448c8
Compare
Hey y'all! A deployment of this PR can be found here: |
b2be697
to
3a39135
Compare
Merge #155 first. |
34ab4ab
to
a6eff22
Compare
b590af3
to
5e6a395
Compare
note: need better searching feature, like checkin does with regex, maybe this should go in another PR. |
8b3d038
to
79bf69b
Compare
5e6a395
to
61f64dc
Compare
61f64dc
to
8463219
Compare
note: also maybe rename |
@@ -213,7 +231,7 @@ export class BranchConfig { | |||
await this.loadAllBranches(); | |||
return true; | |||
} | |||
catch { | |||
catch (err) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TypeScript 2.5.x supports this type of try / catch syntax if you don't need the error variable
@@ -7,6 +7,7 @@ | |||
], | |||
"target": "es6", | |||
"lib": [ | |||
"esnext.asynciterable", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've never seen this library flag used before. What does it enable?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It enables a new-ish feature asynciterable
which is an iterator that has an async
next()
method, so you can iterate over things that return promises.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me and works well although the API could be fleshed out some more. Does this count as a major version bump or just a minor version (i.e. 2.x.x vs. 1.11.x)?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we switch to https://github.com/apollographql/apollo-codegen instead of the hacky fork currently being used?
@petschekr |
Ah ok I didn't realize that |
Can merge!