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

fix: use reflection to get table name in ModelPropertyExtension #666

Merged
merged 1 commit into from
Sep 25, 2020

Conversation

canvural
Copy link
Collaborator

  • Added or updated tests
  • Documented user facing changes
  • Updated CHANGELOG.md

Fixes #656

Changes

Initiating a new model class in ModelPropertyExtension was causing some issues.

Now we use reflection to get an instance of the model. It should work the same way as before. With the added benefit of not calling the actual constructor.

@canvural canvural merged commit 64457d5 into master Sep 25, 2020
@szepeviktor szepeviktor deleted the patch-1 branch September 25, 2020 19:22
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.

Error when there is no database
1 participant