zero
zero copied to clipboard
server function does not receive a typed object
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 - https://github.com/Ananto30/zero/pull/55
Solved here https://github.com/Ananto30/zero/pull/55