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

fix: set choice state variable and path fields set to reference paths #145

Merged
merged 1 commit into from
Aug 25, 2023

Conversation

massfords
Copy link
Collaborator

@massfords massfords commented Aug 24, 2023

This was a miss when I added the validation for the path expressions.

From the spec for the Choice state:

The values of Variable and Path fields in a comparison must be valid Reference Paths.

Small change to update the schema and provide a test for the negative case.

closes #144

@ChristopheBougere ChristopheBougere merged commit c33ac55 into ChristopheBougere:main Aug 25, 2023
1 check passed
@github-actions
Copy link

🎉 This PR is included in version 3.8.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@massfords massfords deleted the fix/issue144 branch August 25, 2023 14:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

choice schema's Variable type should be a reference path, not a string
2 participants