undeclared keys in nested object
Hello.
I want to use arktype for parsing objects in backend before sending them to client (mainly for removing unwanted keys),
But when i use nested object types the undeclared keys won't get deleted
ex:
result in
wanted result:
Is this a limitation or am i doing something wrong?
Thanks for your time
I want to use arktype for parsing objects in backend before sending them to client (mainly for removing unwanted keys),
But when i use nested object types the undeclared keys won't get deleted
ex:
result in
wanted result:
Is this a limitation or am i doing something wrong?
Thanks for your time