-
Notifications
You must be signed in to change notification settings - Fork 0
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
Create Team Builder Program Stage as a Form #25
Create Team Builder Program Stage as a Form #25
Conversation
fields: dataElementFields, | ||
paging: false, | ||
filter: { | ||
id: { |
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.
If you want to get the data elements of incident management team builder program stage you can use : https://metadata.eyeseetea.com/rsl-zebra/api/programStages/DwEOpUBGgOp/programStageDataElements
If you do it from the above api, then if new data elements are added to the program stage they will automatically be fetched. I am not sure if that will help in this context, if it does, then you can use it.
return Future.joinObj( | ||
{ | ||
dataElementRoles: apiToFuture( | ||
this.api.models.dataElements.get({ |
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.
this call should be made in RoleD2Repository as it is related to fetching roles. Two different repositories can be called in the use case and then any mapping between them can be done in use case.
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.
Minor changes suggested
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.
thanks @anagperal
📌 References
📝 Implementation
📹 Screenshots/Screen capture
🔥 Notes to the tester