mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
docs: Update config docs
This commit is contained in:
parent
cfdd1221f0
commit
225affe42c
@ -25,12 +25,15 @@ and then add the following in your root config:
|
||||
```json
|
||||
{
|
||||
"@id": "urn:solid-server:default:MetadataParser",
|
||||
"ParallelHandler:_handlers": [
|
||||
"@type": "ParallelHandler",
|
||||
"handlers": [
|
||||
{ "@type": "MyNewParser" }
|
||||
]
|
||||
}
|
||||
```
|
||||
This will add the new parser to the list of metadata parsers.
|
||||
The `@id` value is needed so Components.js knows which object to add the values to,
|
||||
and the `@type` is needed so it can interpret the other fields (`handlers` in this case).
|
||||
|
||||
Note that generally it is only advised to append to ParallelHandlers or key/value maps.
|
||||
In case the order is important this can not be guaranteed over separate files.
|
||||
|
Loading…
x
Reference in New Issue
Block a user