Esri/arcgis-rest-js

getService() should parse the service URL before making the request

Offen

#773 geöffnet am 05.11.2020

 (0 Kommentare) (1 Reaktion) (0 zugewiesene Personen)TypeScript (126 Forks)auto 404
good first issue

Repository-Metriken

Stars
 (389 Sterne)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

when passed a layer url it should strip off the /{layerIndex} before requesting the service

We should move over this fn:

https://github.com/Esri/ember-arcgis-server-services/blob/4667061fe6e2c1b9f744497281d283543ad4bfd2/addon/utils/parse-url.js#L61-L68

and ultimately probably the rest of the utils in that folder too.

Contributor Guide