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

Support $ index notation in Validation matcher #927

Open
SamTolmay opened this issue Oct 31, 2021 · 0 comments
Open

Support $ index notation in Validation matcher #927

SamTolmay opened this issue Oct 31, 2021 · 0 comments
Labels
Bug Something isn't working

Comments

@SamTolmay
Copy link
Member

SamTolmay commented Oct 31, 2021

Describe the bug

We currently do not support $ index notation in the Validate action matching rules. So this does not work as expected:

id: validate
type: Validate
params: items_list.$.name

Workaround

id: validate
type: Validate
params:
  _nunjucks:
    template: items_list.{{ index }}.name
    on:
      index:
        _index: 0

Lowdefy Version

v3.22.0

@SamTolmay SamTolmay added the Bug Something isn't working label Oct 31, 2021
@Gervwyk Gervwyk added Bug Something isn't working and removed Bug Something isn't working labels Sep 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants