In evaluating the level-of-effort for conversion to API 4.0, I've noted that 4.0 is retrieving all of my feature layers regardless of their minScale setting. My initial map view is at the State level and I've configured most features to not show until you hit the County level, where conceptually the number of features is reduced several hundred (rather than tens-of-thousands). Granted, ArcGIS Server will limit the number of features returned but this is definitely an observable difference between 3.1x and 4.0. The former only hits to REST service, to get geometry, etc., when actually needed (the layer is going to be visible). Some serious performance ramifications.
Is this possibly because of some mis-configuration or misunderstanding on my part, or something I missed with the 4.0 version of the API? Or possibly an outright bug in the new API?
Any and all insights greating appreciated!