can anyone answer why a feature layer's graphics providers' attributes does not contain all of the layer's attributes unless it's queried?
var features:ArrayCollection = ArrayCollection(featureLayer.graphicProvider);
var featureSet:FeatureSet = new FeatureSet(features.source);
featureSet.attributes would only have fields : ObjectID, Shape, and STFIPS. I want to be able to grab all of the attributes from the feature layer, but it seems the only way is to query the feature layer. is there another way because it seems that querying for each feature would take a performance hit.