Is it possible to support more zod types in input object for query? Like non-nested json.
What I am thinking is to do sth like this:
z.object({ coordinates: z.object({ latitude: z.number(), longitude: z.number() }) })
-> https://aaa.com/bbb?latitude=xxx&longitude=yyy
So it should automatically skip the key of the object, and expand the value of object into search queries.
Is it possible to support more zod types in input object for query? Like non-nested json.
What I am thinking is to do sth like this:
z.object({ coordinates: z.object({ latitude: z.number(), longitude: z.number() }) })
-> https://aaa.com/bbb?latitude=xxx&longitude=yyy
So it should automatically skip the key of the object, and expand the value of object into search queries.