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

Support Endpoints for Instance Datums #1431

Merged
merged 13 commits into from
Aug 16, 2023
Merged

Support Endpoints for Instance Datums #1431

merged 13 commits into from
Aug 16, 2023

Conversation

shubham1g5
Copy link
Contributor

@shubham1g5 shubham1g5 commented Jul 19, 2023

Technical Summary

Refer to Spec

Safety Assurance

Safety story

Testing on staging

Automated test coverage

Added a few tests to complement this, we have tests on multi-select case lists already which should cover for any regressions.

QA Plan

Not planning

Special deploy instructions

  • This PR can be deployed after merge with no further considerations.

Rollback instructions

  • This PR can be reverted after deploy with no further considerations.

Review

  • The set of people pinged as reviewers is appropriate for the level of risk of the change.

cross-request: dimagi/commcare-core#1312

@shubham1g5 shubham1g5 marked this pull request as ready for review August 10, 2023 19:43
@shubham1g5 shubham1g5 added the product/custom Change will only impact users on a single project label Aug 10, 2023
@shubham1g5
Copy link
Contributor Author

@snopoke bumping review request for this and corresponding core PR.

if(argument.isInstanceArgument()){
String argumentValue = argumentValues.get(argument.getId());
String instanceSrc = argument.getInstanceSrc();
if (instanceSrc.contentEquals(JR_SELECTED_ENTITIES_REFERENCE)) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should this error if the instanceSrc is something else?

@snopoke
Copy link
Contributor

snopoke commented Aug 16, 2023

@snopoke bumping review request for this and corresponding core PR.

Sorry for the delay. These changes look good to me 👍🏻

@shubham1g5 shubham1g5 merged commit 17d845e into master Aug 16, 2023
2 checks passed
@shubham1g5 shubham1g5 deleted the instanceEndpoint branch August 16, 2023 15:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
product/custom Change will only impact users on a single project
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants