Skip to content

Conversation

@zashraf1985
Copy link
Contributor

Summary

This is first PR in an effort to implement support for Offline Events persistence for React Native Apps. Async Storage implementation was already done in datafile-manager package to support datafile caching. This PR moves the generic caching implementation to utils so that it can be used by both datafile-manager and event-processor.

Test plan

All Existing tests should pass

@coveralls
Copy link

coveralls commented Jun 9, 2020

Coverage Status

Coverage remained the same at 96.7% when pulling 06be61b on zeeshan/move-cache-to-utils into e017d0d on master.

@zashraf1985 zashraf1985 marked this pull request as ready for review June 9, 2020 21:21
@zashraf1985 zashraf1985 requested a review from a team as a code owner June 9, 2020 21:21
@zashraf1985 zashraf1985 removed their assignment Jun 9, 2020
Copy link
Contributor

@mjc1283 mjc1283 left a comment

Choose a reason for hiding this comment

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

LGTM. Please add an entry under "Unreleased", "New features" packages/utils/CHANGELOG.md.

"dependencies": {
"uuid": "^3.3.2"
"uuid": "^3.3.2",
"@optimizely/js-sdk-logging": "^0.1.0"
Copy link
Contributor

Choose a reason for hiding this comment

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

I realized that this will create a circular dependency between our logging and utils packages. Please remove logging from the utils package.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done

@mjc1283 mjc1283 merged commit 0e1d075 into master Jun 11, 2020
@mjc1283 mjc1283 deleted the zeeshan/move-cache-to-utils branch June 11, 2020 20:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants