orval icon indicating copy to clipboard operation
orval copied to clipboard

Add support to nested `useInfiniteQueryParam`

Open ruiaraujo012 opened this issue 9 months ago • 0 comments

I don't know if it is possible, but the api I'm using has an object as params:

{
  criteria: {
    page: 0,
    size: 10,
   ...
  }
}

My orval config should be:

query: {
              useInfinite: true,
              useInfiniteQueryParam: 'criteria.page',
              useQuery: true,
},

But it doesn't work, the generated code has errors image

ruiaraujo012 avatar May 15 '24 14:05 ruiaraujo012