Skip to content

Commit cff27d4

Browse files
authored
Use literal block format for example validation (#336)
1 parent a11ffc3 commit cff27d4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pages/spicedb/modeling/validation-testing-debugging.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,13 +186,13 @@ zed validate schema-and-validations.yaml
186186
Validation files take this form:
187187

188188
```yaml
189-
schema: >-
189+
schema: |-
190190
// schema goes here
191191
# -- OR --
192192
schemaFile: "./path/to/schema.zed"
193193
194194
# Note that relations are a single heredoc string rather than a yaml list
195-
relationships: >-
195+
relationships: |-
196196
object:foo#relation@subject:bar
197197
object:baz#relation@subject:qux
198198

0 commit comments

Comments
 (0)