Skip to content

Conversation

@vkarpov15
Copy link
Collaborator

Fix #15170

Summary

Added bitwise operator support to int32. Also fixed a couple of invalid applySetters() calls: this.applySetters(null, val, context); is incorrect args, first param to applySetters is value and 2nd is context. This makes it so that any operators that we don't have an explicit definition for are casted to the given schematype. For example, if x is a boolean, then { x: { $someConditional: 'true' } } will get casted to $someConditional: true.

Examples

@vkarpov15 vkarpov15 added this to the 8.9.5 milestone Jan 11, 2025
@vkarpov15 vkarpov15 merged commit fa33717 into master Jan 13, 2025
74 checks passed
@vkarpov15 vkarpov15 deleted the vkarpov15/gh-15170 branch January 13, 2025 20:00
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.

Bitwise query on Int32 field throws server error

3 participants