Skip to content

Commit 20e1bb7

Browse files
authored
Add initial object to overrides documentation, Closes #8
1 parent 28273b3 commit 20e1bb7

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

docs/configuration/configurations/overrides.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,19 @@ These are the predicates
2020

2121
## Example: single override
2222

23-
The example below will make it so that `ex:myHelloWorldWithOverride` will be instantiated with the value `"HELLO"`
23+
Assume we have the following in our original configuration:
24+
25+
```json
26+
{
27+
"@id": "ex:myHelloWorldWithOverride",
28+
"@type": "hello:HelloWorld",
29+
"hello:say": "HI",
30+
"hello:hello": "WORLD",
31+
"hello:punctuation": "!"
32+
}
33+
```
34+
35+
Importing the config below will make it so that `ex:myHelloWorldWithOverride` will be instantiated with the value `"HELLO"`
2436
for its `hello:say` parameter and `"BETTER WORLD"` for its `hello:hello` parameter,
2537
independent of what value is specified in the `ex:myHelloWorldWithOverride` instantiation.
2638

0 commit comments

Comments
 (0)