Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add the ability to specify collection values inline #28

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

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 ["[email protected]", "[email protected]"]

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 ["[email protected]", "[email protected]"]`

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