Skip to content

appendCustomParams normalize to IRequestOptions v5#1320

Open
dixonyant wants to merge 6 commits into
v5.0.0from
appendCustomParams-update
Open

appendCustomParams normalize to IRequestOptions v5#1320
dixonyant wants to merge 6 commits into
v5.0.0from
appendCustomParams-update

Conversation

@dixonyant

Copy link
Copy Markdown
Contributor
  • added IRequestFlags interface

@dixonyant dixonyant requested a review from patrickarlt June 12, 2026 18:05
@dixonyant dixonyant changed the base branch from rawrequest-replace-rawresponse to v5.0.0 June 22, 2026 18:01
@github-actions

Copy link
Copy Markdown
Contributor

Code Coverage

Package Line Rate Branch Rate Complexity Health
arcgis-rest-basemap-sessions.src 100% 100% 0
arcgis-rest-basemap-sessions.src.utils 100% 100% 0
arcgis-rest-demographics.src 100% 100% 0
arcgis-rest-developer-credentials.src 100% 100% 0
arcgis-rest-developer-credentials.src.shared 100% 100% 0
arcgis-rest-elevation.src 100% 100% 0
arcgis-rest-feature-service.src 100% 100% 0
arcgis-rest-feature-service.src.pbf-parser 100% 100% 0
arcgis-rest-geocoding.src 100% 100% 0
arcgis-rest-places.src 100% 100% 0
arcgis-rest-portal.src.groups 100% 100% 0
arcgis-rest-portal.src.items 100% 100% 0
arcgis-rest-portal.src.orgs 100% 100% 0
arcgis-rest-portal.src.services 100% 100% 0
arcgis-rest-portal.src.sharing 100% 100% 0
arcgis-rest-portal.src.users 100% 100% 0
arcgis-rest-portal.src.util 100% 100% 0
arcgis-rest-request.src 100% 100% 0
arcgis-rest-request.src.types 100% 100% 0
arcgis-rest-request.src.utils 100% 100% 0
arcgis-rest-routing.src 100% 100% 0
Summary 100% (2484 / 2484) 100% (1341 / 1341) 0

Minimum allowed line rate is 100%

@patrickarlt patrickarlt left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dixonyant one change.

Comment on lines +109 to +112
headers: {
...(defaultRequestOptions.fetchOptions?.headers as any),
...(normalizedRequestOptions.fetchOptions?.headers as any)
}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dixonyant I think that this needs to use the new merge header util that was added at some point. Unless normalizedRequestOptions and defaultRequestOptions both return the headers as an object?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually looking at this is is normalize to an object so this works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants