imMohika
Aarktype
•Created by imMohika on 3/17/2025 in #questions
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?
-# it works correctly if i parse user object with tUser before passing it to tAuthMeResult
Thanks for your time
4 replies