-
Notifications
You must be signed in to change notification settings - Fork 5
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 option fields to lock answer group #518
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! I see that freeze
didn't work, did you remove it completely from the changes?
PR Type
enhancement
Description
lockFormAnswerGroup
to the configuration files for both single and multiple form responses.lockFormAnswerGroup
field.pushFormResponseToHealthie.ts
andpushFormResponsesToHealthie.ts
to handle the locking of form answer groups based on the new field.defaultTo
function to manage default values for the lock option.lockFormAnswerGroup
field is set to true.Changes walkthrough 📝
fields.ts
Add lock option to form response fields configuration
extensions/healthie/actions/dataExchange/pushFormResponseToHealthie/config/fields.ts
lockFormAnswerGroup
to the fields configuration.lockFormAnswerGroup
.pushFormResponseToHealthie.ts
Implement form locking logic in pushFormResponseToHealthie
extensions/healthie/actions/dataExchange/pushFormResponseToHealthie/pushFormResponseToHealthie.ts
defaultTo
from lodash.fields.ts
Add lock option to form responses fields configuration
extensions/healthie/actions/dataExchange/pushFormResponsesToHealthie/config/fields.ts
lockFormAnswerGroup
to the fields configuration.lockFormAnswerGroup
.pushFormResponsesToHealthie.ts
Implement form locking logic in pushFormResponsesToHealthie
extensions/healthie/actions/dataExchange/pushFormResponsesToHealthie/pushFormResponsesToHealthie.ts
defaultTo
from lodash.