Repository navigation
Conversation
|
No actionable comments were generated in the recent review.
|
JsonSyncable is now created through a factory registered in AddCrdtDataCore, so its constructor can take internal services. This removes the public JsonSyncable type from the package; callers use IJsonSyncableFactory.Create(dir), which returns an ISyncable. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The static SyncHelper becomes SyncService, a singleton registered in AddCrdtDataCore and injected into DataModel and JsonSyncable (via its factory), so it can take a logger and config later. It takes the serializer options in its constructor instead of per call. No behavior change. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1298aeb to
5c51f12
Compare
[Claude, autonomous]
Turn the static
SyncHelperinto an injectableSyncService, so the logging follow-up can give it a logger and config. No behavior change.JsonSyncableis now internal. Create one withIJsonSyncableFactory.Create(dir)(registered byAddCrdtData), which returns anISyncable; its constructor andFilenamePrefix/FilenameExtensionconstants are no longer public. Nothing in Lexbox uses them.SyncWithResourceUploadmoved over as is; it still has no callers.🤖 Generated with Claude Code