Vengeance
Vengeance3y ago

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?
2 Replies
Vengeance
VengeanceOP3y ago
Changed query and frontend to a record instead and suddenly it's working
sachin
sachin3y ago
You need to use superjson to pass a Map over http

Did you find this page helpful?