-
Notifications
You must be signed in to change notification settings - Fork 200
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
feat(datastore): DataStore Hub events (#766) #795
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* initialize networkStatus PR * fixed an indentation * fixed unit test * added ready but not yet implemented * ready for review * removed one publisher * fixed a typo * updated passthroughSubject to CurrentValueSubject in NetworkReachabilityNotifier * updated ReachabilityNotifierTests * plural * removed one log info * Update DataStoreCategory+HubPayloadEventName.swift * updated integration test * updated integration test Co-authored-by: Guo <[email protected]>
* initialize networkStatus PR * fixed an indentation * fixed unit test * added ready but not yet implemented * ready for review * removed one publisher * fixed a typo * updated passthroughSubject to CurrentValueSubject in NetworkReachabilityNotifier * updated ReachabilityNotifierTests * plural * removed one log info * Update DataStoreCategory+HubPayloadEventName.swift * updated integration test * updated integration test Co-authored-by: Guo <[email protected]>
…mplify-ios into feature/hub-events
* switching branch * switching branch * initial modelsynced && syncQueriesReady PR * updated some mock* files * self.modelSyncedEvent.build() * updated ReconcileAndLocalSave: query to check local store before deciding create or update mutationType * added one integration test for modelsynced event * update count to atomic operation * update count to atomic operation * did some clean up * ready for review * ready for review 2 * updated part of comments * updated logic * fixed one unit test * modified reconcileAndLocalSave * did some clean up * reimplement logic: Added SyncEventEmitter & ModelSyncEventEmitter * did some clean up and fixed a bug for causing a unit test to fail * ready for review * addressed some comments * fixed some mock class * removed testing part for modelsynced * addressed some PR comments * updated several unit tests and added ready event * DispatchQueue.main -> DispatchQueue.global() in RemoteSyncEngine * updated two unit tests * removed ready event from this PR * Added SyncEventEmitterTests * added one unit test in ReconcileAndLocalSave test * updated two unit tests class * updated two unit test classes: InitialSyncOrchestratorTests and SyncEventEmitterTests * 10/08/2020 comments addressed * fixed some comments part1 * fixed one build error * try to fix a cicd error * addressed lots of comments * fix underlying queue for InitialSyncOrchestrator * ready for re-review * abc * remove one reset from setup() * error handling in initialSyncOrchestrator * updated some comments Co-authored-by: Guo <[email protected]> Co-authored-by: Tim Schmelter <[email protected]>
* switching branch * switching branch * initial modelsynced && syncQueriesReady PR * updated some mock* files * self.modelSyncedEvent.build() * updated ReconcileAndLocalSave: query to check local store before deciding create or update mutationType * added one integration test for modelsynced event * update count to atomic operation * update count to atomic operation * did some clean up * ready for review * ready for review 2 * updated part of comments * updated logic * fixed one unit test * modified reconcileAndLocalSave * did some clean up * reimplement logic: Added SyncEventEmitter & ModelSyncEventEmitter * did some clean up and fixed a bug for causing a unit test to fail * ready for review * addressed some comments * fixed some mock class * removed testing part for modelsynced * addressed some PR comments * updated several unit tests and added ready event * DispatchQueue.main -> DispatchQueue.global() in RemoteSyncEngine * updated two unit tests * removed ready event from this PR * Added SyncEventEmitterTests * Initialize Ready event PR * remove dispatchGroup, use AtomicValue * fixed a typo * added one unit test in ReconcileAndLocalSave test * updated two unit tests class * Initialize Ready event PR * remove dispatchGroup, use AtomicValue * fixed a typo * Revert "fixed a typo" This reverts commit b7871af. * fjk * updated two unit test classes: InitialSyncOrchestratorTests and SyncEventEmitterTests * 10/08/2020 comments addressed * fixed some comments part1 * fixed one build error * try to fix a cicd error * addressed lots of comments * fix underlying queue for InitialSyncOrchestrator * ready for re-review * abc * remove one reset from setup() * error handling in initialSyncOrchestrator * addressed comments * updated some comments Co-authored-by: Guo <[email protected]> Co-authored-by: Tim Schmelter <[email protected]>
lawmicha
approved these changes
Oct 20, 2020
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.
approving as this is just a merge from feature branch into main. all related PRs in description have been merged into this feature branch.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Want to merge:
into
main
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.