-
> This is already in progress. Open an issue here only for progress tracking.
The current ORM event system doesn't use `@deepkit/event` because its built before `@deepkit/event`, thus we cannot lis…
-
error
```
- Expected - 1
+ Received + 7
- Array []
+ Array [
+ ValidationErrorItem {
+ "code": "type",
+ "message": "Invalid type",
+ "path": "",
+ },
+ ]
```
test…
-
```ts
import { Database } from "@deepkit/orm";
import { SQLiteDatabaseAdapter } from "@deepkit/sqlite";
import {
AutoIncrement,
BackReference,
PrimaryKey,
Reference,
} from "@deepkit/t…
-
Please add some unit tests. Would be very helpful if you could help me with unit testing the repository
-
```
import { Email, validate } from "@deepkit/type";
console.log(validate('xxxx'));
```
Expected: return an error about 'xxxx' not being an email.
Acutal: no error is returned
Versions
…
-
If you have an enum the deepkit won't be able to deserialize it correctly.
Reproduction:
```typescript
import { cast } from '@deepkit/type';
export enum StatEnginePowerUnit {
Hp = 'hp',
…
-
```ts
type CustomA = { __meta?: ["CustomA"] };
type CustomB = { __meta?: ["CustomB"] };
type O = {} & CustomA;
type Decorate = T & CustomB;
const decorated = typeOf();
console.log(metaAnno…
-
`query.join()` and `query.useJoin()` will join the relation without populating it, thus the result of `query(Book).join("owner")` will not have property `owner`.
But when commiting of flushing chan…
-
I haven't tested if it's an issue with the default naming strategy as well.
But the example throws the following error:
```
Validation error:
postComments(type): Cannot convert [object Object] to …
-
```typescript
export interface PrivateApiCall {
calls: Array,
"observe"?: Array,
"auth"?: any
}
const a:PrivateApiCall = {
"calls": [{
"call": "xxxx",
"args": [[…