typescript http client and server with zod validation
MIT License
Bot releases are visible (Hide)
Published by github-actions[bot] about 2 years ago
All notable changes to this project will be documented in this file.
Published by github-actions[bot] about 2 years ago
All notable changes to this project will be documented in this file.
Published by github-actions[bot] about 2 years ago
All notable changes to this project will be documented in this file.
new hooks:
immutable
api flag: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.
Published by github-actions[bot] about 2 years ago
All notable changes to this project will be documented in this file.
Published by github-actions[bot] about 2 years ago
All notable changes to this project will be documented in this file.
Published by github-actions[bot] about 2 years ago
All notable changes to this project will be documented in this file.
Published by github-actions[bot] about 2 years ago
All notable changes to this project will be documented in this file.
Published by github-actions[bot] about 2 years ago
All notable changes to this project will be documented in this file.
Published by github-actions[bot] about 2 years ago
All notable changes to this project will be documented in this file.
@zodios/express
to generate full openapi specPublished by github-actions[bot] about 2 years ago
All notable changes to this project will be documented in this file.
Published by github-actions[bot] about 2 years ago
All notable changes to this project will be documented in this file.
as const
. check migration guide to v8.Published by github-actions[bot] about 2 years ago
All notable changes to this project will be documented in this file.
@zodios/plugins
v2.2.0Published by github-actions[bot] about 2 years ago
All notable changes to this project will be documented in this file.
Published by github-actions[bot] about 2 years ago
All notable changes to this project will be documented in this file:
Published by github-actions[bot] over 2 years ago
Zodios has a new plugin system that is incompatible with the previous one that was based on axios interceptors.
Zodios has now it's own interceptors, with more options than axios.
Indeed you can attach plugins to a specific endpoint or even override a plugin (usefull to replace zodios own internal plugins).
Now internally form-data, form-url and zod validation are made with this new plugin system. And since you can override them, you can then change their behaviour if you want.
For more information about the plugin system, take a look at the documentation.
Published by github-actions[bot] over 2 years ago
All notable changes to this project will be documented in this file.
Published by github-actions[bot] over 2 years ago
Impoved Error for validation.
ZodiosError {
cause: ZodError;
response: OriginalResponse;
config: ZodiosConfig;
}
Published by github-actions[bot] over 2 years ago
All notable changes to this project will be documented in this file.
Published by github-actions[bot] over 2 years ago
All notable changes to this project will be documented in this file.
Published by github-actions[bot] over 2 years ago
All notable changes to this project will be documented in this file.