Martin Adámek

Results 768 comments of Martin Adámek

So the huge difference I can see in the https://github.com/mikro-orm/guide repo is only present with TS 5.4, the difference is huge there: 4,3mil vs 920k instantiations. With TS 5.5 it's...

Merged the `EntityKey` fix, let's open a new issue if you can find a reproduction for the other parts (or another working suggestion like the above, I will be happy...

> type: 'vector(1024)', This is wrong, you want `columnType: 'vector(1024)'`, you should never put lengths into the `type` option (for that it would be `type: 'vector', length: 1024`). Not sure...

Try enabling verbose logging, you will see what `columnType` the database is using, it needs to match exactly, maybe you are using some alias. https://mikro-orm.io/docs/schema-generator#debugging

Opened https://github.com/pgvector/pgvector/issues/611 as I am really not sure how can we extract the length from the information schema, since its a custom type (on db level).

Yes please, provide a schema, what you gave us is not a reproduction without it.

Closing as not reproducible, let's reopen with a reproduction.

I am not following, you reported an issue with the entity generator, so you must have had a schema before - how is using the schema generator now relevant? We...

The schema you provided here works just fine, it produces the following entities, including the 1:m relations: ```ts import { Entity, ManyToOne, PrimaryKey, PrimaryKeyProp } from '@mikro-orm/core'; import { Users...

Ha, the duplicities might be actually it, looking at the code, we are not handling that apparently: https://github.com/mikro-orm/mikro-orm/blob/master/packages/entity-generator/src/EntityGenerator.ts#L265 Btw no one is asking for your production schema, you should provide...