nestjs
nestjs copied to clipboard
fix: do not try to create repository for abstract schema
Closes #131
Hey @B4nan , could you help me out with this PR? I'm trying to run yarn lint --fix in the project but it does not fix it. I believe this is using a different configuration.
This PR solves the issue I mentioned a while ago - the Nest module is trying to register repositories even for abstract schemas.
Just remove the trailing space?
I will close this, nowadays you can let the base entities be discovered automatically via references with EntitySchema too, just put the schema instance into the extends value. It's now done in all the examples in the docs this way.