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

make build:view and build:list use GraphQL instead of REST endpoints #286

Merged
merged 1 commit into from
Mar 26, 2021

Conversation

dsokal
Copy link
Contributor

@dsokal dsokal commented Mar 22, 2021

Checklist

Why

We want to stop using REST endpoints in EAS CLI. This PR is the first part of the effort.
It makes eas build:list and eas build:view use GraphQL instead.

How

This was rather straightforward. I temporarily introduced a new function for formatting builds - formatGraphQLBuild - it will later replace the formatBuild function when we make build creation work via GraphQL.

Test Plan

I ran eas build:list and eas build:view for a project with existing builds and for a one without any builds.

@github-actions
Copy link

github-actions bot commented Mar 22, 2021

Size Change: +23 B (0%)

Total Size: 32.8 MB

Filename Size Change
./packages/eas-cli/dist/eas-linux-x64.tar.gz 32.8 MB +23 B (0%)

compressed-size-action

@dsokal dsokal requested a review from wkozyra95 March 22, 2021 15:46
@dsokal dsokal changed the title EAS Build: use GraphQL instead of REST endpoints make build:view and build:list use GraphQL instead of REST endpoints Mar 23, 2021
@dsokal dsokal marked this pull request as ready for review March 23, 2021 10:18
@dsokal dsokal merged commit 0317e6f into main Mar 26, 2021
@dsokal dsokal deleted the @dsokal/eas-build-graphql branch March 26, 2021 07:56
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.

None yet

2 participants