neumino / rethinkdbdash

An advanced Node.js driver for RethinkDB with a connection pool, support for streams etc.
MIT License
848 stars 109 forks source link

nonvotingReplicaTags option for reconfigure command not working #388

Open micschro opened 5 years ago

micschro commented 5 years ago

When using the nonvotingReplicaTags option for the reconfigure command, the server responds with:

Unrecognized optional argument `nonvotingReplicaTags` in:
r.table("mytable").reconfigure({ 
    ... 
    nonvotingReplicaTags: ["mytag"]
    ...
})

It seems this option isn't part of the _translateArgs and it is therefore not snake-cased. Maybe the driver could just snake-case all options, like it's done in the official implementation?