-
Notifications
You must be signed in to change notification settings - Fork 124
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
Better support for repeated model bindings in template #4
Labels
Comments
Closed
This issue is fixed using the new parser infrastructure. Here is an example:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It is common for templates to include multiple references to the same template model property. At the moment the first reference is used to bind to the model, all others are ignored. We should at least validate that all references are equivalent and flag an error for inconsistent bindings.
See the code here:
https://github.com/accordproject/cicero/blob/master/packages/cicero-core/lib/template.js#L304
The text was updated successfully, but these errors were encountered: