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

Super basic simple fix: now accepts -RowLimit parameter #2499

Merged

Conversation

koskila
Copy link
Contributor

@koskila koskila commented Oct 27, 2022

Type

  • Bug Fix
  • New Feature
  • Sample

Related Issues?

Partial fix to #2485.

What is in this Pull Request ?

The commandlet now accepts RowLimit parameter (earlier it was always ignored due to how Identity was managed, and the commandlet could effectively be used to only restore 1 item at a time). This implementation blindly accepts the -RowLimit (without validating whether the number makes sense).

A proper fix should also implement paging or at least verify that restoring with high RowLimits works (which I can also test myself later on if need be).

Also adds a nicer message for confirming restoring X number of items.

@gautamdsheth gautamdsheth merged commit f9ffce0 into pnp:dev Oct 27, 2022
@gautamdsheth
Copy link
Collaborator

Thank you @koskila, much needed fix.

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