-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
chore: Refactor and improve abstract module service factory #7688
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
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
3 Ignored Deployments
|
|
@sradevski @thetutlage @olivermrbl should be good to review and merge, then I can open the other pr with the fondational changes |
Looks pretty neat to me! |
@shahednasser just for info here how it will look like for simple users, some more changes will come soon though
|
@adrien2p looks much cleaner 😄 can you let me know when it's ok to update the docs with this change? (as in, when it's ok for users to use this). Also, do we not need type arguments anymore? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sublime work!
cc @VariableVic |
Yes i let you know, yes the template args are not required but can be used if you want to specify a specific dto for example |
What
Refactor and cleanup the modules service API
NOTE
Fix create/update mapped types not working, now they are working but the API must be generic any as not all modules follow the same convention and that can't be define through the types currently
NOTE 2
We have to add back the ts-ignore now that the types have been fixed and therefore we get back to the known ts issue about mapped types instance method of dynamic classes (microsoft/TypeScript#48125)
FIXES CORE-2294