Ananto30/zero

server function does not receive a typed object

foofel opened this issue · 3 comments

foofel commented

Hey, when i try to pass an object from the client to the server i get the correct data, but its not a typed object but dict, how can i change this?

What type of object are you sending? And are you expecting object in the server or client?

My first impression was to not doing any validation on the framework itself. But as I have introduced msgspec, can use their validator function indeed. Here is the pr - #55

Solved here #55