I've defined sub types for my feature class and some fields have different domain values for each sub type.
And I've exposed it as a feature service and trying to get domain and its values for each different sub type.
But when I get domain (AGSCodedValueDomain) from field (AGSField) it returns same domain for each sub type.
So I've tried to get domain from sub type (AGSFeatureType) but it returns AGSInheritedDomain, which I couldn't figure out how to get coded values.
Arcgis feature service version: 10.4.1
SDK version 100.2.1