We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Or at least, I was having problems with it.
I could not use the extended repository without invoking getCustomRepository instead of the standard getRepository as stated in the readme.
getCustomRepository
getRepository
@Entity() export class Address implements PolymorphicChildInterface { .... } @EntityRepository(Address) export class AddressRepository extends AbstractPolymorphicRepository<Address> {}
import { Address, AddressRepository } from '../'; let addressRepository: AbstractPolymorphicRepository<Address>; addressRepository = await TestConnection.connection.getCustomRepository(AddressRepository);
The text was updated successfully, but these errors were encountered:
Ahh sorry, I use this heavily with nestjs so my implementation might be a lot different to yours!
Sorry, something went wrong.
Can you give a complete example?
@codeninja @bashleigh
No branches or pull requests
Or at least, I was having problems with it.
I could not use the extended repository without invoking
getCustomRepository
instead of the standardgetRepository
as stated in the readme.The text was updated successfully, but these errors were encountered: