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

Refactor CLI API calls #963

Open
saihaj opened this issue Jul 16, 2024 · 0 comments
Open

Refactor CLI API calls #963

saihaj opened this issue Jul 16, 2024 · 0 comments

Comments

@saihaj
Copy link
Member

saihaj commented Jul 16, 2024

The CLI is just making API requests to GraphQL API and we should utilize codegen to generate the operation types wrapper those around fetch. Instead of using the common package and importing types. We should stop using the common package to make API calls and rely on typings. Code will be much simpler to follow, lot more typesafety improvements and can simplify testing further.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🗃️ Inbox
Development

No branches or pull requests

1 participant