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
Im currently implementig the places service and while trying to query for places an exception got triggered. Somehow i can't really solve it. I has something todo with the FindPlaceFromQueryRequest and the LocationBias, which isn't correctly serialiazed. Is there something wrong on my side, configuration wise?
LocationBias is only class which implements OneOfBase. Could be that functionality was lost after migration to System.Text.Json
Second probably it is workaround (solution) to write like this
public OneOf<LatLngLiteral, string>? LocationBias { get; set; }
Problem that that implements 5 types which i think 3 is max. Which is in OneOfConverterFactory
Probably easiest solution would be find which 3 params works in most cases. O harder write serializer for 5. There are examples so probably doable.
Another problem that it is resolved in promise which could couse some testing for right solution (i could be wrong)
Here is my findings. Hard to promise deadline. This is very rare. For sure this year :)
Hello
Im currently implementig the places service and while trying to query for places an exception got triggered. Somehow i can't really solve it. I has something todo with the FindPlaceFromQueryRequest and the LocationBias, which isn't correctly serialiazed. Is there something wrong on my side, configuration wise?
Kind Regards
Kimon Meier
Code-Example:
Exception:
The text was updated successfully, but these errors were encountered: