Skip to content

Conversation

bjornharrtell
Copy link
Contributor

I have a case where filter values can contain commas, which I noted was not accepted by current implementation.

Removing the parsing of values and special case for array filters seem a bit too invasive, however it seems to be working. I'm currently doing more evaluation of this change but would welcome input.

@bart-degreed
Copy link
Contributor

Hi @bjornharrtell, what a coincidence. I'm currently working on a major rewrite of query string parameter handling that provides way more flexible querying capabilities compared to what we offer today. In there, I already removed the comma limitation.

@bjornharrtell
Copy link
Contributor Author

Hopefully superceded by #792.

@bart-degreed
Copy link
Contributor

Yes, it contains tests for using a comma inside text. Note though, you'll need to escape quotes by doubling them like this:

?filter=equals(name,'Jack O'' Brian')

@bart-degreed
Copy link
Contributor

Superseded by #792.

@bjornharrtell bjornharrtell deleted the filter-fix branch August 18, 2020 14:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants