You don't need to set the immutable flag if you use useImmutableQuery, only if you also want to use your aliased version.
For example without immutable flag, your alias useSearchUser will by default resolve to use useMutation, and when setting it, it will resolve to useImmutableQuery.
There is for the same purpose a useImmutableInfiniteQuery to allow you to do infinite queries.
Note there is no alias for infinite queries.
Release v9.2.0
Changelog
All notable changes to this project will be documented in this file.
All notable changes to this project will be documented in this file.
enable async zod transformations : #146 , thanks to @r0m4n27
Release v9.1.0
Changelog
All notable changes to this project will be documented in this file.
Improved docs
improved zodios errors when validating zod schemas
deprecated asApi, asParameters, asErrors and asCrudApi (they are still there)
added makeApi, makeParameters, makeErrors, makeCrudApi as these names are more suggestive that you need to use them to create the underlying definitions
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps @zodios/core from 9.0.1 to 9.3.0.
Release notes
Sourced from
@zodios/core
's releases.Commits
31fe55a
9.3.034b8722
feat: allow to mark an endpoint as immutabledb0524c
docs: fix documentationb9b7d01
9.2.0d01c040
feat(api-definition): add makeEndpointd6694bc
9.1.1a0b3598
Add testsc032220
Allow async transformations for zod schemaea5e8db
docs(context): fix context doc2aadab6
9.1.0Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)