Marc J. Schmidt
Marc J. Schmidt
I just added tests to show that this works as intended, see https://github.com/deepkit/deepkit-framework/commit/373a69857410ec5cac376a61bcd63078e5d9596d. We also have templates assigned to kind=0, so I'm not sure where this error is coming from....
good catch. we should make sure we don't have several different error messages meaning the same thing
Probably good to have new various configuration options in HttpModule (and a section in FrameworkModule's configuration that redirects the options to HttpModule)
Infer operations with constraints are not implemented yet. https://github.com/deepkit/deepkit-framework/blob/acb2d72f242a742fe99fdcf9fba892faea701e08/packages/type-compiler/src/compiler.ts#L1589 We need a new bytecode OP `inferConstrained` or something like that to have it backward compatible, and then consume `TypeParameterDeclaration.constraint` in...
I don't know. The old PR and your patch doesn't fix it, it basically disables the whole sextion since found is then always false, iirc. need to look into it...
FYI TypeScript 4.9.5 works fine with this code
The complexity of this type explodes since have no lazy evaluation, so kinda of expected and by design at the moment. we would need to change the VM fundamentally to...
Unfortunately, reference to `this` is not implemented at all in our type compiler, so referring to it breaks stuff in unexpected ways. I've added now a workaround that `keyof this`...
What's the request's body and header?
I added a test covering your code to make sure this (`HttpBody`) actually works. I recommend upgrading to the newest version and see if it goes away since it works...