Martin Adámek

Results 768 comments of Martin Adámek

> I don't totally agree, because this decorator is also necessary to properly take advantage of the integration of our two frameworks. We are precisely on a page that talks...

> and for information it’s not at all an alias to your decorator, its function is specific to Ts.ED to describe a jsonschema. ok now I get the point. I...

You can already use `MIKRO_ORM_CLI` env var to override path to the config. That seems good enough to me, but PR welcome.

There are few issues with your attempt, but the bottom line is that this is not really supported. ManyToOne always needs to point to the primary key of the inverse...

Yeah I guess this should be safe, will probably expose the `referenceColumnName` option in v4. > then mikro-orm selects with tons of conditions like Are you sure that `parentEntity` is...

Yes, that is correct, if you pass entity somewhere, it will be always narrowed to its primary key. Again, you are kinda hacking the ORM :] that's why you need...

Indeed, this is not supported -> this is a feature request, not a bug report.

Fastest way to see this happen is sending a PR 🤷

That's not how it works, you need to use the second generic type arg and it needs to be generic if you want to have nested strict type checks for...

You changed in only on one place, you use it multiple times in that code.