Open
Description
Attempting to map models to other models as explained in docs leads to values of type TUnsafe being passed around project. See example:
where I attempt to define model Login as a mapping of baseCreateUserScema. While it seems safe to expect that baseCreateUserSchema would be of type t.Object, it instead is typed as TUnsafe, which does not cause subsequent schemas to give a type error, but causes type errors elsewhere in project. Namely, Login, when used elsewhere, still has all the properties of baseCreateUserScema.