bitovi / querystring-parser

MIT License
8 stars 5 forks source link

Update ilike operator and default operator for mongo filters #22

Closed michael-dean-haynie closed 7 months ago

michael-dean-haynie commented 2 years ago

❗These are breaking changes and should probably be coordinated with the frontend team.

1. Update ilike to $like The MongoDB-Style filtering logic supports a custom operator we've been calling ilike. We want to change this to $like to be more consistent with the other mongo operators (which all start with "$").

Example:

2. Update default operator behavior for strings Currently, if the filter parameter in the querystring omits the operator part for a string value, it will default to ilike. We want to change this to strict equality ($eq)

Example:

Also In-scope

roy-coder commented 7 months ago

Moved to https://bitovi.atlassian.net/browse/HATCH-541.