OpenAPI-Qraft / openapi-qraft

Generate a type-safe TanStack Query React ✨ client from your OpenAPI document
https://openapi-qraft.github.io/openapi-qraft/
MIT License
31 stars 3 forks source link

feat: make `requestFn` optional #97

Closed radist2s closed 3 months ago

radist2s commented 3 months ago

Make requestFn optional if queryFn or mutationFn is specified in hooks.

changeset-bot[bot] commented 3 months ago

🦋 Changeset detected

Latest commit: 225f7f4f8720409798a8f1d4162696a0daba2d1e

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 5 packages | Name | Type | | ------------------------------------------ | ----- | | @openapi-qraft/react | Minor | | @openapi-qraft/cli | Minor | | @openapi-qraft/plugin | Minor | | @openapi-qraft/tanstack-query-react-plugin | Minor | | @openapi-qraft/openapi-typescript-plugin | Patch |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR