Skip to content
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

feat(common): HttpParams fromObject accepts ReadonlyArray<str… #31072

Conversation

MansourFall
Copy link
Contributor

…ing>

Fixes #28452

PR Checklist

Please check if your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Documentation content changes
  • angular.io application / infrastructure changes
  • Other... Please describe:

What is the current behavior?

Issue Number: #28452

What is the new behavior?

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

@MansourFall MansourFall requested a review from a team as a code owner June 15, 2019 15:34
@googlebot
Copy link

Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

📝 Please visit https://cla.developers.google.com/ to sign.

Once you've signed (or fixed any issues), please reply here (e.g. I signed it!) and we'll verify it.


What to do if you already signed the CLA

Individual signers
Corporate signers

ℹ️ Googlers: Go here for more info.

@MansourFall
Copy link
Contributor Author

I signed it!

@googlebot
Copy link

CLAs look good, thanks!

ℹ️ Googlers: Go here for more info.

@MansourFall MansourFall force-pushed the fix/httpParams-fromObject-fix-28452 branch from 38ae83b to ba8159c Compare June 15, 2019 15:39
@cexbrayat
Copy link
Member

@MansourFall Can you update the commit message with feat(common): HttpParams fromObject accepts ReadonlyArray<string> please?

@cexbrayat cexbrayat changed the title feat@angular/common): HttpParams fromObject accepts ReadonlyArray<str… feat(common): HttpParams fromObject accepts ReadonlyArray<str… Jun 15, 2019
@MansourFall MansourFall force-pushed the fix/httpParams-fromObject-fix-28452 branch from ba8159c to 0138e5c Compare June 15, 2019 16:08
@MansourFall
Copy link
Contributor Author

@cexbrayat update done! thanks!

@kara kara added the area: common Issues related to APIs in the @angular/common package label Jun 19, 2019
@ngbot ngbot bot added this to the needsTriage milestone Jun 19, 2019
@cexbrayat
Copy link
Member

@MansourFall Would you mind rebasing the PR to resolve the conflict? Basically keeping the new signature, but with the updated comment:

/** Object map of the HTTP parameters. Mutually exclusive with `fromString`. */
fromObject?: {[param: string]: string | ReadonlyArray<string>};

To do so:

git fetch upstream
git rebase upstream/master
# resolve the conflict
git add packages/common/http/src/params.ts
git rebase --continue
# check if everything is OK
git show
# all good? ready to push!
git push --force

When that's done we should be able to merge it!

@MansourFall MansourFall force-pushed the fix/httpParams-fromObject-fix-28452 branch from 0138e5c to d1a47c9 Compare July 30, 2019 18:03
@MansourFall
Copy link
Contributor Author

@cexbrayat thank you for the instructions, just made the changes!

@petebacondarwin petebacondarwin added action: merge The PR is ready for merge by the caretaker action: presubmit The PR is in need of a google3 presubmit target: patch This PR is targeted for the next patch release merge: caretaker note Alert the caretaker performing the merge to check the PR for an out of normal action needed or note and removed action: presubmit The PR is in need of a google3 presubmit merge: caretaker note Alert the caretaker performing the merge to check the PR for an out of normal action needed or note labels Aug 30, 2019
@matsko
Copy link
Contributor

matsko commented Aug 30, 2019

@matsko matsko removed the action: presubmit The PR is in need of a google3 presubmit label Aug 30, 2019
@mhevery mhevery closed this in f5bec3f Aug 30, 2019
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 30, 2019
@MansourFall MansourFall deleted the fix/httpParams-fromObject-fix-28452 branch April 13, 2020 16:18
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
action: merge The PR is ready for merge by the caretaker area: common Issues related to APIs in the @angular/common package cla: yes target: patch This PR is targeted for the next patch release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

HttpParams fromObject should accept ReadonlyArray<string>
7 participants