mfenniak / rethinkdb-net

A C# / .NET client driver for RethinkDB.
Other
247 stars 37 forks source link

Fix for ConvertAppendToTerm when dealing with scalar values #227

Closed nkreipke closed 8 years ago

nkreipke commented 8 years ago

Greetings again!

I had some problems with the Append function for arrays, because it expected each element to be a MemberInit expression. This made it impossible to write statements like:

someDocument.SomeNumbers.Append(1, 2, 3, 4)

Turns out, simply removing the check solves that problem.

Kind regards, Nico