-
Type: Bug
-
Resolution: Done
-
Priority: Minor - P4
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
We have the following model:
Unable to find source-code formatter for language: csharp. Available languages are: actionscript, ada, applescript, bash, c, c#, c++, cpp, css, erlang, go, groovy, haskell, html, java, javascript, js, json, lua, none, nyan, objc, perl, php, python, r, rainbow, ruby, scala, sh, sql, swift, visualbasic, xml, yaml
public partial class Company : IRealmObject { public string Name { get; set; } public IList<CustomGeoPoint> Offices { get; } } public partial class CustomGeoPoint : IEmbeddedObject { public IList<double> coordinates { get; } public string type { get; set; } = "Point"; }
And the following data:
[{ "Name":"1,2", "Offices":[{ "type":"Point", "coordinates":[ 1.0, 1.0 ] }, { "type":"Point", "coordinates":[ 2.0, 2.0 ] }] }, { "Name":"2,3", "Offices":[{ "type":"Point", "coordinates":[ 2.0, 2.0 ] }, { "type":"Point", "coordinates":[ 3.0, 3.0 ] }] }]
Then, this query doesn't return any results, even though I would expect it to match the first company:
Offices GEOWITHIN GeoSphere([1, 1], 0.00872665)