I noticed that with FeatureLayer:operation:didQueryFeaturesWithFeatureSet: if the query returns 0 records it always returns a featureSet with geometry type set as esriGeometryPoint even if the layer that was queried is a polygon or polyline layer. Is that to be expected?
I needed to handle the results based on geometry type and so I was using featureSet.geometryType but it looks like that isn't reliable if your query will ever return 0 records. I can work around this by using the featureLayer properties, but was just curious if empty featureSets always end up a point geometry.
Thanks,
Matt