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