Tested to verify that JavaScript Number.toString() always results in the period decimal, same as C# CultureInfo.InvariantCulture
Updated all numeric parsers in AttributesDictionary to use CultureInfo.InvariantCulture
Added new missing types to FieldType enum
Expanded deserialization support to handle integers and longs as well as doubles
Updated TypeScript protobuf attributes serialization to pass the valueType from the field definition on the layer, if available
Fixed C# to JS protobuf serialization of dates/times to ensure they can be parsed correctly by ArcGIS fields
Removed LocalizationTests (no good way to do E2E testing, but have confirmed manually)
Added AttributesTests, which test most attribute field types full serialization with Field definitions (FeatureLayer) and hit tests with no field definitions (GraphicsLayer)
Closes #358
CultureInfo
/navigator.lanuage
codeNumber.toString()
always results in the period decimal, same as C#CultureInfo.InvariantCulture
AttributesDictionary
to useCultureInfo.InvariantCulture
FieldType
enumvalueType
from thefield
definition on the layer, if availableLocalizationTests
(no good way to do E2E testing, but have confirmed manually)AttributesTests
, which test most attribute field types full serialization with Field definitions (FeatureLayer) and hit tests with no field definitions (GraphicsLayer)