You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For example, it shows owner as a required parameter however the docs do not show it as a supported parameter and states:
The user who creates the group automatically becomes the owner of the group.
Furthermore, parameters like culture and categories are not related to the Group objects at all and appear to be likely copied over from the parameters for creating Item instances.
My understanding is that the interfaces should be updated to something similar to the following:
took another pass at this in #248. Updated interfaces are IGroupAdd (for requests to create a new group) and IGroup (which represents an existing group).
thanks again for the feedback and follow up dialog.
Taking a look at our
IGroup
interface, it doesn't seem to match the documentation at all:arcgis-rest-js/packages/arcgis-rest-groups/src/groups.ts
Lines 20 to 29 in 2aa15e8
For example, it shows
owner
as a required parameter however the docs do not show it as a supported parameter and states:Furthermore, parameters like
culture
andcategories
are not related to theGroup
objects at all and appear to be likely copied over from the parameters for creatingItem
instances.My understanding is that the interfaces should be updated to something similar to the following:
Having separate interfaces for the Request and Response parameters would make development go much more smoothly.
The text was updated successfully, but these errors were encountered: