-
Is typing done through generics, code generation, or a mix of both? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
It's a mix of both. Some types are generated in order to complete the various DAOGenerics, then these are used by Typetta. This is inside the generated code: typetta/tests/security/dao.mock.ts Lines 823 to 843 in 53a22eb typetta/tests/security/dao.mock.ts Line 899 in 53a22eb And this is inside the internals: typetta/src/dal/dao/middlewares/securityPolicy/security.types.ts Lines 27 to 36 in 53a22eb |
Beta Was this translation helpful? Give feedback.
It's a mix of both. Some types are generated in order to complete the various DAOGenerics, then these are used by Typetta.
This is inside the generated code:
typetta/tests/security/dao.mock.ts
Lines 823 to 843 in 53a22eb