-
-
Notifications
You must be signed in to change notification settings - Fork 28
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
Moves Async entity Implementation to Core #2732
Conversation
…plement an interface
bumping this for a review. |
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.
@shubham1g5 looks good, I just left a minor comment.
return detailId + "_" + mFieldId; | ||
} | ||
|
||
private static String buildValidKeys(Vector<Integer> sortKeys, DetailField[] fields) { |
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.
buildValidKeys
, buildKeyNameWhereClause
and populateEntitySet
are private static methods called by non-static methods, do they need to be static
?
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.
I prefer to make methods private static
when they can be to signify that none of these methods changes the member variables of the class.
app/src/org/commcare/models/database/user/models/CommCareEntityStorageCache.java
Outdated
Show resolved
Hide resolved
@damagatchi retest this please |
Summary
https://dimagi-dev.atlassian.net/browse/USH-3790
Moves Async Entity to core in order to be able to implement Cache and Indexing feature on Web Apps.
Feature Flag
Cache and Index
Safety Assurance
Automated test coverage
No substantial coverage
Safety story
QA Note: Test Cache and Index functionality.
review commit by commit
cross-request: dimagi/commcare-core#1387