-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dynamic properties not supported #217
Comments
Hey @smurfpandey. Thanks for the bug report; neither of the object serializers in rethinkdb-net currently support using |
Hrm, there are limitations on the capabilities of Take your example of a Banana class, and then try adding a query filter. var response = await conn.RunAsync(Banana.Table.Filter(b => b.flesh > 100)); This will come up with a compiler error, Is there a specific use-case that you had in mind for |
@mfenniak I am working on a simple mock server which will output JSON response. That's why I am using the dynamic flesh property to hold the JSON provided by the user. Since this mock server should accept any kind of valid JSON, I am using You can check what i did here: https://github.com/smurfpandey/api-monkey/blob/master/APIMonkey/Code/DataManager.cs |
I am trying to insert an object with dynamic property. But the code hangs at insert. I also tried replacing dynamic with JObject, but then, only id is getting inserted.
Object definition
Code to Insert
I am using Newtonsoft serializer.
The text was updated successfully, but these errors were encountered: