Skip to content
New issue

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

how to make a baseController in typeorm 0.3.17 and extends to other classes like mangoose #10832

Open
1 of 18 tasks
syedmomin opened this issue Apr 16, 2024 · 0 comments
Open
1 of 18 tasks

Comments

@syedmomin
Copy link

syedmomin commented Apr 16, 2024

Issue description

baseController not extends in other classes

Expected Behavior

its working my last project in mongoose
image

Actual Behavior

this base controller with generic CRUD operations like getOne, getAll, create, update, and delete.
Screenshot 2024-04-16 143444

and this city controller
Screenshot 2024-04-16 143637

Steps to reproduce

..

My Environment

| Operating System | |
| Node.js version | x.y.zzz |
| Typescript version | x.y.zzz |
| TypeORM version | x.y.zzz |

Additional Context

No response

Relevant Database Driver(s)

  • aurora-mysql
  • aurora-postgres
  • better-sqlite3
  • cockroachdb
  • cordova
  • expo
  • mongodb
  • mysql
  • nativescript
  • oracle
  • postgres
  • react-native
  • sap
  • spanner
  • sqlite
  • sqlite-abstract
  • sqljs
  • sqlserver

Are you willing to resolve this issue by submitting a Pull Request?

Yes, I have the time, and I know how to start.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant