Skip to content

Conversation

@kevinahuber
Copy link

Fun! With Mongoose!

In some cases (like with a discriminator), the mongoose object passed does not have an explicit policyClass on the object, but does have it on the Model. This extends pandit to work in those cases.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling a0fba03 on feature/mongoose--model into 5cba2ef on master.

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.

4 participants