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

inline statements in credentials #772

Merged
merged 9 commits into from
Dec 16, 2023
Merged

Conversation

jaromil
Copy link
Member

@jaromil jaromil commented Nov 28, 2023

This PR changes the Zencode definition lua code to insure that all statements (Given(...) When(...) Then(...) IfWhen(...)) are made on the same line, so that any editor or grep or awk or emacs occur function can easily list all statements declared in a Lua source file.

@matteo-cristino
Copy link
Collaborator

Should we use also always double quotes when defining the statements? At the moment we use both double quotes and single quotes. Double quotes are necessary when we have to specify a variable, e.g.:

When("aggregate reflow public key from array ''", function()

@jaromil jaromil marked this pull request as ready for review December 7, 2023 10:15
@matteo-cristino matteo-cristino force-pushed the fix/inline-zencode-statements branch from 806eebf to 91424a1 Compare December 12, 2023 10:41
@jaromil jaromil merged commit ee789a1 into master Dec 16, 2023
35 checks passed
@jaromil jaromil deleted the fix/inline-zencode-statements branch December 16, 2023 15:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants