microsoftgraph / microsoftgraph/msgraph-sdk-powershell
-Top and -All should not be in the same parameter set
Nessuno ha ancora preso questa issue.
- Lingua principale
- C#
- Stelle
- 898
- Fork
- 230
- Merge medio
- 2g 5h
- PR unite (30g)
- 31
Descrizione
Describe the bug
It doesn't make sense to ask command to return all pages and also limited number of items.
One parameter set should support -Top and -PageSize. (With corrected implementation described in #2869
The other parameter set should support -All and -PageSize
Expected behavior
One parameter set should support -Top and -PageSize. (With corrected implementation described in #2869
The other parameter set should support -All and -PageSize
How to reproduce
Try any command with the -Top and -All at the same time.
SDK Version
2.20.0
Latest version known to work for scenario above?
No response
Known Workarounds
No response
Debug output
Click to expand log
```</details>
### Configuration
_No response_
### Other information
_No response_
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Inizia riproducendo il problema con un comando che accetta sia -Top sia -All, quindi esamina le definizioni dei set di parametri di quel comando e confrontale con la correzione prevista nell’issue #2869. Il lavoro è completato quando -Top è raggruppato con -PageSize separatamente da -All e l’uso di -Top con -All non è più consentito.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- csharp, powershell
- Ambito
- cli
- Tipo di issue
- Bug
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100