Type-safe GraphQL client generator for Gleam

Adopt sans-io pattern #1

open
opened by lpil.uk

Hello! Very cool package! I can see it being super useful.

Currently the cross target support is implemented using some patterns we actively discourage, including the deprecated @target attribute. It would be great to migrate to the standard "sans-io" pattern that cross platform API clients use, where the package only provides codes for constructing requests and parsing responses. This would also give control back to the programmer as to how the HTTP requests are executed, enabling them to select the most appropriate HTTP request for their project, and implement any additional functionality required that Squall lacks, such as tracing, retrying, batching, rate limiting, etc.

These packages implement the sans-io pattern and may be a useful reference:

Thank you!

Hey @lpil.uk! Thanks for the recommendation! I updated to a sans-io pattern and published as v1. Let me know if there's anything else I could change. Going to start using it more in some upcoming projects and give it some more traction.

sign up or login to add to the discussion
Labels

None yet.

assignee

None yet.

Participants 2
AT URI
at://did:plc:afrbolfpncwuewe4sccm6iws/sh.tangled.repo.issue/3m55iwizxde22