Commit c93c757
authored
Updated Json Schema which includes
## Why this change?
This change follows up on
#1865, which adds caching
support.
VSCode suggesting the new `cache` properties were errors when included
in the config file. That is because the properties needed to be added to
the json schema.
Global `cache` property in the `runtime` section which adjacent to
`rest`, `graphql`, and `host`.
```json
{
"runtime": {
"cache": {
"enabled": false,
"ttl-seconds": 5
}
}
}
```
and per entity alongside `source`, `graphql`, `rest`, and `permissions`
```json
{
"myEntity": {
"cache": {
"enabled": false,
"ttl-seconds": 5
}
}
}
```cache property (#2011)1 parent 19afe75 commit c93c757
1 file changed
+32
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
236 | 236 | | |
237 | 237 | | |
238 | 238 | | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
239 | 255 | | |
240 | 256 | | |
241 | 257 | | |
| |||
465 | 481 | | |
466 | 482 | | |
467 | 483 | | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
| 493 | + | |
| 494 | + | |
| 495 | + | |
| 496 | + | |
| 497 | + | |
| 498 | + | |
| 499 | + | |
468 | 500 | | |
469 | 501 | | |
470 | 502 | | |
| |||
0 commit comments