Open
Description
Feature Request
I was looking through the sync-gateway's configuration and noticed that they support loading in a sync-function from a file, but it's not really documented.
It looks like it was introduced on 11/19/20 in couchbase/sync_gateway#4842
I'm not sure of their branching/releasing strategy, so I wasn't able to determine which version it was introduced in, but it is in master
branch.
Description
We would be able to update the README.md
to let users know that you can provide a file path or URL path.
Examples
Here's an partial example config that should work with that configuration once the correct version of the sync-gateway is determined.
{
"databases": {
"dbName": {
"sync": "/path/to/sync-function.js"
}
}
}