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 the Mappable trait inheritance #96

Merged
merged 2 commits into from Aug 13, 2016
Merged

Fix the Mappable trait inheritance #96

merged 2 commits into from Aug 13, 2016

Conversation

maltsev
Copy link
Contributor

@maltsev maltsev commented Jun 12, 2016

I've the same issue that @sarahkemp described in the #46: I can't use models that inherit some base model which uses the Mappable trait.

The fix makes the mapping a bit slower because now it has to be executed for every instance, but I think it's not a big deal. Implementing some sort of cache would be an overhead in that case.

That fixes an issue with models that inherit a base model
which uses the Mappable trait (#46)
@coveralls
Copy link

coveralls commented Jun 12, 2016

Coverage Status

Coverage remained the same at 93.574% when pulling ffcc22b on maltsev:5.2 into b8786eb on jarektkaczyk:5.2.

@jarektkaczyk jarektkaczyk merged commit f4a0b20 into jarektkaczyk:5.2 Aug 13, 2016
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.

None yet

3 participants