Skip to content

Commit ffdb7e6

Browse files
committed
Minor update to the Transitivity Example section to mention graph depth configuration
1 parent 36b0424 commit ffdb7e6

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

docs/community/seps/2084-primitive-groups.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -260,9 +260,9 @@ Note: Tasks are not included in the example as they are ephemeral, but the SDK c
260260
### Transitivity Example
261261

262262
- In the TypeScript reference implementation, the `communications` group contains `email` and `calendar` groups.
263-
- When listing the primitives in the `communications` group, it displays the contents of both children.
263+
- When listing the primitives in the `communications` group at maximum graph depth, it displays the contents of both children.
264264
- So `email_thank_contributor` would appear in both `email` and `communications`.
265-
- Some clients might wish to only show direct children of a group.
265+
- Some clients might wish to only show direct children of a group (depth of 1 in the example).
266266

267267
## Acknowledgements
268268

seps/2084-primitive-groups.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -242,10 +242,11 @@ Note: Tasks are not included in the example as they are ephemeral, but the SDK c
242242

243243
### Transitivity Example
244244

245-
- In the TypeScript reference implementation, the `communications` group contains `email` and `calendar` groups.
246-
- When listing the primitives in the `communications` group, it displays the contents of both children.
247-
- So `email_thank_contributor` would appear in both `email` and `communications`.
248-
- Some clients might wish to only show direct children of a group.
245+
- In the TypeScript reference implementation, the `communications` group contains `email` and `calendar` groups.
246+
- The example client allows the user to configure the maximum depth of the depth-first graph search.
247+
- When listing the primitives in the `communications` group at maximum graph depth, it displays the contents of both children.
248+
- In that case, `email_thank_contributor` would appear in both `email` and `communications`.
249+
- Some clients might wish to only show direct children of a group (depth of 1 in the example).
249250

250251
## Acknowledgements
251252

0 commit comments

Comments
 (0)