You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks like JObject is special cased somewhere. I'm wandering what happens If I ask for IDictionary<string, JObject>. I've tried plain object and the second pass conversion does not happen either.
I'm using RethinkDB fully dynamically. I don't have classes for my data. That's the main reason I picked RethinkDB. My queries are composed of ReqlExpr on the fly. Is this a use case you want to fully support in this driver? Sorry for creating headaches for you.
The text was updated successfully, but these errors were encountered:
In RunAtomAsync<T>, T is IEumerable. IEnumerable is not JToken type. So, it won't be converted using the 2nd-pass converter. You'll need to ask for T as JArray (RunAtomAsync<JArray>) which derives from JToken and pick off the JObjects from within the JArray.
This is a continuation from #39.
Using the latest stable 2.3.3 the second pass for JObject is performed when I do:
I get correct display like this:
However when I ask for an IEnumerable of JObjects the conversion is not performed:
This returns:
It looks like JObject is special cased somewhere. I'm wandering what happens If I ask for
IDictionary<string, JObject>
. I've tried plainobject
and the second pass conversion does not happen either.I'm using RethinkDB fully dynamically. I don't have classes for my data. That's the main reason I picked RethinkDB. My queries are composed of ReqlExpr on the fly. Is this a use case you want to fully support in this driver? Sorry for creating headaches for you.
The text was updated successfully, but these errors were encountered: