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

feat(lib): register and inject objection models #637

Merged
merged 3 commits into from
May 23, 2020

Conversation

KwabenBerko
Copy link
Contributor

@willsoto

Based on the brief discussions we had earlier, I've added a static method in the lib/module.ts file to register objection models. This now makes it possible to inject objection models when needed.

@willsoto
Copy link
Owner

This looks great, thank you!

@willsoto willsoto merged commit da8822f into willsoto:master May 23, 2020
@willsoto
Copy link
Owner

Released as v2.2.0. Thanks for the contribution!

@KwabenBerko
Copy link
Contributor Author

I've also created a sample demonstration project:
https://github.com/KwabenBerko/nestjs-objection-sample/

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

Successfully merging this pull request may close these issues.

2 participants