orval
orval copied to clipboard
SolidJS: Tanstack implementation
Discussed in https://github.com/anymaniax/orval/discussions/1448
Originally posted by Blankeos June 10, 2024 Really cool library! Was wondering if it's possible to port this for Solid Query as well? Don't know if I could do it personally but would be very interested in reading through how to do it.
Can anyone point me to the right direction?
Try this fork of Orval only for Solid.js for now, until the official Orval starts supporting it.
Github: github.com/AndrejNemec/openapi-tanstack-query-solid#readme NPM: https://www.npmjs.com/package/otqs
Having this would be an amazing for the solid community! The problem with the library from prior is it doesn't support custom http clients (and I cannot use axios over fetch here).
Now that Fetch has been added to Orval i would think this would be possible just need someone to provide a PR to support SolidJS now.