refactor(quartz): rename InternedEventStore → InterningEventStore
Past-participle "Interned" suggested an attribute of the events flowing through; present-participle "Interning" describes what the decorator actively does. Read clearer. File renamed, no consumers needed updating (this commit is the only external reference, since callers compose the decorator inline). All 240 store + projection + interner tests still pass. https://claude.ai/code/session_01Jny85MTu1ynKgFBgysfWu5
This commit is contained in:
+2
-2
@@ -35,7 +35,7 @@ import com.vitorpamplona.quartz.nip01Core.store.IEventStore
|
||||
*
|
||||
* ```
|
||||
* val sqlite = EventStore(...)
|
||||
* val cached = InternedEventStore(sqlite)
|
||||
* val cached = InterningEventStore(sqlite)
|
||||
* val observable = ObservableEventStore(cached)
|
||||
* ```
|
||||
*
|
||||
@@ -48,7 +48,7 @@ import com.vitorpamplona.quartz.nip01Core.store.IEventStore
|
||||
* The default [interner] is [EventInterner.Default]; pass a fresh
|
||||
* instance for tests or any context that needs isolation.
|
||||
*/
|
||||
class InternedEventStore(
|
||||
class InterningEventStore(
|
||||
private val inner: IEventStore,
|
||||
private val interner: EventInterner = EventInterner.Default,
|
||||
) : IEventStore {
|
||||
Reference in New Issue
Block a user