z.map() as an input

Hi, I have
z.map(z.string(), z.string())
z.map(z.string(), z.string())
as an input, but when I try to pass the map as a query, it refuses to run and I have no clue why. Any ideas?
Vengeance
Vengeance529d ago
Changed query and frontend to a record instead and suddenly it's working
sachin
sachin529d ago
You need to use superjson to pass a Map over http