ReadonlyeventReadonlyloadedReadonlyloadProject this filter onto the ArcGIS FeatureFilterProperties shape so a
partially migrated app can hand it to an un-migrated @arcgis/core
construct (#1013 REQ-003).
Throws when objectIds holds an id ArcGIS cannot represent: ArcGIS object
ids are numbers, and quietly dropping or coercing a string id would hand
back a filter that selects a different set of features than this one.
ArcGIS
FeatureFiltershim.Documented divergence —
objectIdselement type (#1013). ArcGIS declaresobjectIds: number[]. This shim declaresArray<number | string>: Honua's non-Esri sources (OGC API Features, GeoJSON, STAC) carry string feature ids, and narrowing the property tonumberwould make the shim unable to hold ids it has to round-trip throughqueryFeatures/queryObjectIds. The array itself is mutable, as ArcGIS declares it —filter.objectIds.push(id)is honored, because the array the shim stores is the array it evaluates.Use FeatureFilterCompat.toEsriProperties to project the filter onto the exact ArcGIS shape; it fails loudly rather than silently dropping an id ArcGIS cannot represent. See
docs/migration-punch-list.md.