Skip to content

Commit fbbfbf2

Browse files
committed
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).
1 parent 460287c commit fbbfbf2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/api/src/channel/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ const {
2121
SUBGROUP_ITEM,
2222
} = community;
2323

24-
@Model({ name: 'Channel' })
24+
@Model({ name: 'Channel', graph: true })
2525
export class Channel extends Ad4mModel {
2626
@Flag({ through: ENTRY_TYPE, value: EntryType.Channel })
2727
type: string;

0 commit comments

Comments
 (0)