Introduces code allowing native to use sqlite aux user store ops
Depends on D11508
Paths
| Differential D11509 Authored by will on Mar 31 2024, 10:39 PM.
Details
Summary Introduces code allowing native to use sqlite aux user store ops Depends on D11508 Test Plan Ran the following code and confirmed matching expected results: await commCoreModule.processAuxUserStoreOperations([ { type: 'replace_aux_user_info', payload: { id: 'test_aux_user_A', auxUserInfo: JSON.stringify({ fid: 'test_fid_of_user_A' }), }, }, { type: 'remove_all_aux_user_infos', }, { type: 'replace_aux_user_info', payload: { id: 'test_aux_user_B', auxUserInfo: JSON.stringify({ fid: 'test_fid_of_user_B' }), }, }, { type: 'replace_aux_user_info', payload: { id: 'test_aux_user_C', auxUserInfo: JSON.stringify({ fid: 'test_fid_of_user_C' }), }, }, { type: 'remove_aux_user_infos', payload: { ids: ['test_aux_user_C'], }, }, ]);
Diff Detail
Event TimelineHerald added subscribers: tomek, ashoat. · View Herald TranscriptMar 31 2024, 10:39 PM2024-03-31 22:39:07 (UTC-7) will edited the summary of this revision. (Show Details)Mar 31 2024, 10:39 PM2024-03-31 22:39:47 (UTC-7) Harbormaster completed remote builds in B27889: Diff 38622.Mar 31 2024, 10:54 PM2024-03-31 22:54:24 (UTC-7) Comment Actions Did not read through createOperations super carefully, so please double check that everything seems correct there. This revision is now accepted and ready to land.Apr 1 2024, 1:53 PM2024-04-01 13:53:50 (UTC-7) Harbormaster completed remote builds in B27999: Diff 38808.Apr 4 2024, 1:35 PM2024-04-04 13:35:09 (UTC-7) Closed by commit rCOMM5a0daf51e0c7: [sqlite] implement C++ aux user store ops (authored by will). · Explain WhyApr 4 2024, 9:42 PM2024-04-04 21:42:11 (UTC-7) This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 38833 native/cpp/CommonCpp/NativeModules/AuxUserStoreOperations.h
native/cpp/CommonCpp/NativeModules/CMakeLists.txt
native/cpp/CommonCpp/NativeModules/CommCoreModule.h
native/cpp/CommonCpp/NativeModules/CommCoreModule.cpp
native/cpp/CommonCpp/NativeModules/PersistentStorageUtilities/DataStores/AuxUserStore.h
|