-
```typescript
import {deserialize, ReflectionClass, ReflectionKind} from "@deepkit/type";
export class Test1 {
echo(...args: any[]): any {
return args;
}
}
const refTest = Reflectio…
-
Following 'DEVELOPMENT.md', i got the following error:
```
git clone https://github.com/deepkit/deepkit-framework.git
cd deepkit-framework
npm install
npm run bootstrap
npm run link
npm run i…
-
When you have a class with static methods, the deserialization with validation will fail.
```typescript
class PilotId {
public static readonly none: PilotId = new PilotId(0);
constructor(p…
-
the line --
` async update(id: IdentifierType, body: Partial) { `
should be
` async update(id: IdentifierType, body: HttpBody) { `
-
For `SQLiteDatabaseAdapter`, the serialization result of nullable fields is different between manually instantiated entities and queried entities.
(This issue doesn't exist with `MemoryDatabaseAdapte…
-
Given
```typescript
async function foo() {}
export default async function(bar: string) {
await foo();
}
```
tsc patched with the type compiler produces
```javascript
function __assign…
-
```ts
import { App } from "@deepkit/app";
import { Inject } from "@deepkit/injector";
new App({
providers: [
{ provide: "null", useValue: null },
{ provide: "test", useFactory: (dep:…
-
```ts
const pattern = /one|two/;
export class Home {
@http.GET('/:page')
page(page: string & Pattern) {}
@http.GET('/:page')
other(page: string) {}
}
```
## Expected
GET `/thr…
-
Hi Marc,
Thanks for this awesome lib!
I have a feature request, I Thought I could use partialPlainToClass with @f.exclude but doesn't really cover my need.
I would like to filter all nested par…
-
A new one! :P
If you have a file that uses an `import type` or `export type` the serialization will fail silently too. While those kinds of `import/exports` are only known by the TypeScript compil…