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

feat(ts-client): introduce an experimental typescript client #672

Merged
merged 79 commits into from
Mar 17, 2024

Conversation

jasonkuhrt
Copy link
Owner

@jasonkuhrt jasonkuhrt commented Feb 15, 2024

This PR introduces an experimental builder api.

It allows for easily sending type safe operations to a GraphQL API.

TODO

  • runtime schema for custom scalar encoding/decoding future PR
  • finished constructor
  • type-level utility types for creating selections future PR

@jasonkuhrt
Copy link
Owner Author

Hey @timsuchanek @mxstbr! Hope you're well :) I'm working on something like GenQL but more powerful here, if you're interested in hearing more happy to field any questions or take any feedback. We're probably going to be using this at Prisma, given we have the need in at least two places now. I don't know what why "the market" hasn't delivered this yet but I'm excited to contribute something toward it myself.

@jasonkuhrt jasonkuhrt marked this pull request as ready for review February 29, 2024 02:11
@jasonkuhrt
Copy link
Owner Author

I have a base functionality working at the type level.

I will get a basic constructor etc. setup and then merge. We can append other features like custom scalar support in upcoming iterations.

@jasonkuhrt jasonkuhrt changed the title feat(builder): introduce an experimental builder api feat(ts-client): introduce an experimental typescript client Mar 17, 2024
@jasonkuhrt jasonkuhrt merged commit 9640d0a into main Mar 17, 2024
7 checks passed
@jasonkuhrt jasonkuhrt deleted the feat/builder-api branch March 17, 2024 03:45
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

1 participant