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

Filter out fields postfixed with $* #167

Merged
merged 1 commit into from
Mar 18, 2019
Merged

Conversation

davad
Copy link
Contributor

@davad davad commented Mar 1, 2019

Mongoose Map type generates paths like fieldName.$*. When these are included in queries, Mongo throws an exception.

See #166

Mongoose Map type generates paths like `fieldName.$*`. When these are included in queries, Mongo throws an exception.
@JKHeadley
Copy link
Owner

@davad Thanks! Just a note this is only viable for mongoose ^5.1.0. By default rest-hapi installs mongoose ^4.6.3.

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

2 participants