You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2018/11/30 09:54:11 UTC
[GitHub] twawszczak opened a new issue #137: Invalid typings for
MangoSelector
twawszczak opened a new issue #137: Invalid typings for MangoSelector
URL: https://github.com/apache/couchdb-nano/issues/137
https://github.com/apache/couchdb-nano/blob/1f8faf4e78d85e133f7070bf7bd8ba028ca6cf77/lib/nano.d.ts#L1184
Item of mango selector should also have possibility to contain array of MangoSelector (for example for `$or`, `$end` conditions)
current:
```
interface MangoSelector {
[key: string]: MangoSelector | MangoValue | MangoValue[];
}
```
better:
```
interface MangoSelector {
[key: string]: MangoSelector | MangoSelector[], MangoValue | MangoValue[];
}
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services