Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Won't Fix
-
1.0.1
-
None
-
None
-
Regular Contributors Level (Easy to Medium)
Description
I have this rewrite:
{
"from": "/u/:key",
"to": "_list/pouch/user-items",
"method": "GET",
"query":
}
..where the view returns:
. The view query looks like this ?key=somekey, but for the view to succeed "somekey" need to be in double quotes.
Maybe one could improve the rewriter's behavior for rewriting strings in queries?
Here is one workaround:
{
"from": "/u/:startkey",
"to": "_list/pouch/user-items",
"method": "GET",
"query": {
"startkey": [":startkey"],
"endkey": [":startkey", {}]
}
},