orval icon indicating copy to clipboard operation
orval copied to clipboard

SolidJS: Tanstack implementation

Open melloware opened this issue 1 year ago • 2 comments

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

melloware avatar Jun 26 '24 15:06 melloware

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).

ramipellumbi avatar Sep 05 '24 01:09 ramipellumbi

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.

melloware avatar Sep 05 '24 10:09 melloware