Skip to content

Add the ability to specify collection values inline#28

Open
jefferai wants to merge 1 commit intomainfrom
jefferai-inline-values
Open

Add the ability to specify collection values inline#28
jefferai wants to merge 1 commit intomainfrom
jefferai-inline-values

Conversation

@jefferai
Copy link
Member

This adds a new selector type that uses [a, b] syntax to specify values in-line as a collection rather than via a path to an object. This can be used for circumstances such as

"/userinfo/email" in ["foo@example.com", "bar@example.com"]

The values specified are StringLiterals so must be quoted but normal coalescing rules should apply.

@jefferai jefferai force-pushed the jefferai-inline-values branch from 230acf9 to d4a1018 Compare November 30, 2022 18:26
This adds a new selector type that uses `[a, b]` syntax to specify
values in-line as a collection rather than via a path to an object. This
can be used for circumstances such as

`"/userinfo/email" in ["foo@example.com", "bar@example.com"]`

The values specified are StringLiterals so must be quoted but normal
coalescing rules should apply.
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.

1 participant