From 1c38694aa33c57a58546944dbce45e0a37f6434c Mon Sep 17 00:00:00 2001 From: HexaField <10372036+HexaField@users.noreply.github.com> Date: Wed, 6 May 2026 12:18:46 +1000 Subject: [PATCH] feat(channel): add graph-rooted model decorator Mark the Channel model with `@Model({ name: 'Channel', graph: true })` so each channel instance's triples are stored in an isolated named graph within the perspective's Oxigraph store. This depends on the named graphs feature in @coasys/ad4m (the feat/subject-class-named-graphs branch). --- packages/api/src/channel/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/api/src/channel/index.ts b/packages/api/src/channel/index.ts index 1fbe1fe37..da598551d 100644 --- a/packages/api/src/channel/index.ts +++ b/packages/api/src/channel/index.ts @@ -21,7 +21,7 @@ const { SUBGROUP_ITEM, } = community; -@Model({ name: 'Channel' }) +@Model({ name: 'Channel', graph: true }) export class Channel extends Ad4mModel { @Flag({ through: ENTRY_TYPE, value: EntryType.Channel }) type: string;