arcgis-rest-js icon indicating copy to clipboard operation
arcgis-rest-js copied to clipboard

Refactor IDeleteFeaturesOptions

Open gavinr opened this issue 3 years ago • 0 comments

Describe the problem

The IDeleteFeaturesOptions type does not properly cover all ways of using the deleteFeatures REST endpoint.

Describe the proposed solution

Add to the type functionality like:

  • you can delete via a where or objectIds or geometry (or others too perhaps?)
  • If you pass a geometry you also need to pass a geometry geometryType
  • etc

See discussion in #925

gavinr avatar Dec 19 '22 22:12 gavinr