-
Something like:
```js
apiBuilder({
method: 'get',
path: '/orders/:order/status',
alias: 'getStatusOrder',
parameters: [
{
type: 'Path',
name: 'order',
…
-
This is a feature request to allow the BaseUrl to be optional when initialising Zodios.
The reason for this is that I want to have use a relative path, instead of an absolute path to fetch data fro…
-
Axios only having XHR implementation by default is a real pain nowadays. Some options are only available in fetch (keepalive).
Zodios should implement a fetch adapter to keep using axios goodies …
-
Hey @ecyrbe, this is fantastic!
In my org, we recently moved off axios and started using a small custom fetch-wrapper. We really want to use this but we don't want to go back to `axios`. It would …
-
I have a parameter with the Header type defined as:
```js
{
type: 'Header',
name: 'token',
schema: z.object({
Authorization: z.string().transform(s => {
return `Basic ${Buffer…
-
`const { isLoading, data, invalidate } = zodiosHook.useGet("users/:userId", { params: { userId: userId } });`
^ works
`const { isLoading, data, invalidate } = zodiosHook.useGetUser({ params: { use…
-
Hello, we seem to have had almost the same idea.
Here is my project called [Zodios](https://github.com/ecyrbe/zodios) that i created three month ago.
I just focused on the frontend part for now,…
-
Express does not have a context per say.
Users usually use `req` object and inject their context in there.
Since zodios is aimed at typesafety and discoverability, we should add one.
```ts
con…
-
Thanks for a great library! I really like it.
I've been working with API which requires passing an array of IDs.
for example:
```typescript
{
method: 'get',
path: '/users',
alia…
-
Essentially what I'm looking for would be something akin to this:
```typescript
const Inputs = Z.object({
email: Z.string().email(),
password: Z.string().min(8),
username: Z.string().min(…