-
Notifications
You must be signed in to change notification settings - Fork 293
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 questionnaire and qItem as reserved variables #2477
Comments
@jingtang10 @f-odhiambo this is a super small change |
You mean that, based on doc, qItem can still be used in expression defined at questionnaire root level, right ? |
@MJ1998 I meant the opposite |
|
I mean the same. qItem should be a reserved item in Questionnaire items. But from definition, one should be able to use it as a variable name (not recognized as a reserved word) when declared in the questionnaire root extension(s), correct ? But from code this will be considered as a reserved word for root level extensions as well. |
@MJ1998 correct and correct. |
Supporting this will also not be a big change but it's not needed currently. |
Describe the Issue
Add
questionnaire
andqItem
as reserved variables.Note:
Based on this doc, I would argue that
qItem
is not supposed to be accessed via root level of any expression based extension. BUT still, I don't see the downsides of addingqItem
as part of the reserved variables. It's simpler too.Would you like to work on the issue?
Yes
The text was updated successfully, but these errors were encountered: