Tags: hashicorp/go-bexpr
Tags
Add any and all expression support. (#49) * Add any and all expression support. The syntax is inspired by Sentinel [Any, All Expressions](https://docs.hashicorp.com/sentinel/language/boolexpr#any-all-expressions) and the [For Statements](https://docs.hashicorp.com/sentinel/language/loops#for-statements).
Add colons as valid separators for JSON Pointer pathing (#22) We got a report of someone trying to filter with a path segment using a colon and it not working. Colon isn't currently part of the allowed punctuation list for identifiers. Already JSON Pointer has a larger list of allowed punctuation than native syntax, so I kept this scoped just to JSON Pointer. This PR: - Adds colon to that list, enabling it to be used in JSON Pointer paths - Adds tests of this - Adds tests for both JSON Pointer and native syntax to ensure colon is accepted on the StringLiteral side. It _should_, but more tests is not a problem. This also scopes down the set of targets calling `generate` so that pigeon and co aren't required except when actually generating.
PreviousNext