ValueTuple not supported
See original GitHub issueA ValueTuple (see C# 7.2) object will not be saved to database correctly.
How to Reproduce 1) Define an object like this ``` var verticeObj = new {vertices = new List<(double x, double y, double z)>() { (1,2,3), (2,3,3), (3,4,5) }}; ``` 2) Save it to LiteDB using db.SomeCollection.Insert(verticeObj) 3) Retrive db.SomeCollection, and you will get ``` {"vertices": [{}, {}, {}]} ```Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Predefined type 'System.ValueTuple´2´ is not defined or ...
We resolved our problem by adding manually ValueTuple into .csproj file inside Web project. Share.
Read more >Fixing System Value Tuple Error
ValueTuple ' is not defined or imported”. As soon as you start programming tuples in C# 7.0, you are likely to encounter the...
Read more >System ValueTuple"2" is not defined or imported
Have performed all the required steps to import System.ValueTuple into both VS 17 and 19 but still get error CS8179 Predefined type “System....
Read more >Compil error CS8179 using a "tuple" after updating Visual ...
But now I get compile errors using tuples: The error shown: "Error CS8179 Predefined type 'System.ValueTuple`3' is not defined or imported"
Read more >ValueTuple is not Supported in Aspnet Core 3.1 with ...
ValueTuples are currently not supported by System.Text.Json since they require field support and System.Text.Json only supports public ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Not yet. But I will add in my 5.1 roadmap to analyze this implementation if is possible to do.
thanks. great library!