Skip to content

Commit 03d09a8

Browse files
authored
feat: documentation changes for multiple tuple files support in tests
this is linked to the changes proposed and introduced in openfga/cli#506
1 parent 8a92dc8 commit 03d09a8

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

docs/content/modeling/testing-models.mdx

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,18 @@ model: |
5151
current_time < grant_time + grant_duration
5252
}
5353
54-
# tuple_file: ./tuples.yaml # you can specify an external file, include it inline, or both
55-
tuples:
54+
# You can provide relationship tuples in one of the following ways:
55+
# - As a single external file using 'tuple_file'
56+
# - As multiple external files using 'tuple_files'
57+
# - Inline directly using 'tuples'
58+
#
59+
# Examples:
60+
# tuple_file: ./tuples.yaml # Single external file
61+
# tuple_files: # Multiple external files
62+
# - ./tuples_2.yaml
63+
# - ./tuples_3.yaml
64+
tuples: # Inline tuple definitions go here
65+
5666

5767
# Anne is a member of the Acme organization
5868
- user: user:anne

0 commit comments

Comments
 (0)