-
Notifications
You must be signed in to change notification settings - Fork 24.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(common): add HttpParamsOptions
to the public api
#35829
fix(common): add HttpParamsOptions
to the public api
#35829
Conversation
We found a Contributor License Agreement for you (the sender of this pull request), but were unable to find agreements for all the commit author(s) or Co-authors. If you authored these, maybe you used a different email address in the git commits than was used to sign the CLA (login here to double check)? If these were authored by someone else, then they will need to sign a CLA as well, and confirm that they're okay with these being contributed to Google. ℹ️ Googlers: Go here for more info. |
3a6ae72
to
22be818
Compare
CLAs look good, thanks! ℹ️ Googlers: Go here for more info. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is not a doc's change. Can you please change this comment to be a fix thank you
22be818
to
c387233
Compare
HttpParamsOptions
to the public apiHttpParamsOptions
to the public api
c387233
to
faeebb9
Compare
The reason I think we should expose the interface instead of making it inline as part of the
|
Sounds reasonable to me. You can always grab the type from the type MyHttpParamsOptions = ConstructorParameters<typeof HttpParams>[0]; |
faeebb9
to
34628cc
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Reviewed-for: public-api
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for updating this PR!
I've also checked that the HttpParamsOptions
is displayed correctly (see here) and also started tests in Google's codebase (internal-only link).
Note: this PR should be ready for merge once all tests are completed and there is a final approval from the fw-http
group (cc @alxhub).
Thank you.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed-For: public-api
Started a new presubmit, will keep this thread updated. |
FYI, presubmit is successful for the changes in this PR. Thank you. |
The `HttpParamsOptions` was not documented or included in the public API even though it is a constructor argument of `HttpParams` which is a part of the public API. This commit adds the `HttpParamsOptions` into the exports, thus making it a part of the public API. Resolves angular#20276
51aad23
to
d5e16ef
Compare
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
PR Checklist
Please check if your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
What is the current behavior?
The
HttpParamsOptions
is not documented or included in the public API even though it is a constructor argument ofHttpParams
which is in the public API.Issue Number: #20276
What is the new behavior?
HttpParamsOptions
will be included in the public API and documented.Does this PR introduce a breaking change?
Other information