[v3 wrappers] Support arbitrary optional query parameters
Les mainteneurs répondent en général sous 1 jour
Évaluation
- Difficulté
- 5/5
- Temps estimé
- Plus d'une semaine
- Accessibilité débutants
- 35/100
- Type d'issue
- Fonctionnalité
- Clarté
- Plutôt claire
- Activité
- Active
- Stack technique
- csharp, powershell
- Domaine
- api, developer-experience
Piste de recherche
This is tracking only and names no implementation files or tests. Start by reading #3882 and the v3 generator's OpenAPI operation handling to map how query parameters reach generated cmdlets. Done means a follow-up covers optional parameters across supported operation families and methods, preserves existing behavior, and adds the listed generation and transport regressions.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
Is your feature request related to a problem? Please describe the problem.
The v3 wrapper generator currently exposes a predefined set of optional OData query options where the operation and emitter support them, such as $filter, $select, $expand, $orderby, $search, $top, $skip, and $count.
Other optional query parameters declared in an operation's OpenAPI contract are not automatically exposed as cmdlet parameters, even when the generated Kiota client supports them. For example, an operation declaring an optional mode, locale, or includeArchived query cannot necessarily receive that input through its generated cmdlet. These names are illustrative, not claims about particular Graph endpoints.
The required-query work in #3882 is separate: it adds mandatory -Query<Name> inputs for required queries and deliberately does not broaden arbitrary optional-query support.
Describe the solution you'd like.
Track a future enhancement to generate and bind supported arbitrary optional query parameters from the effective OpenAPI operation contract across supported operation families and HTTP methods.
Acceptance criteria for that follow-up:
- Expose optional inputs as nonmandatory cmdlet parameters and bind them through Kiota's typed query properties, preserving the API wire name and encoding.
- Send an optional query only when the caller supplies it; preserve explicitly supplied
falseand0rather than treating them as omission. Define null/empty and array behavior consistently with the supported schema contract. - Honor inherited path-item parameters, operation-level overrides, supported types, and naming/collision rules. Consider the
Query<Name>convention from #3882 for newly exposed inputs without breaking existing standard OData names and aliases or generating duplicates. - Preserve request bodies, headers, confirmation behavior, API-profile/cloud routing, and each operation's independent query contract, including PATCH refetch and pagination/delta continuation handling.
- Add generated-code and compiled transport/binder regressions covering representative GET and mutation operations, omitted versus bound values, encoding, and collisions. Document any unsupported contracts explicitly.
This issue is tracking only. Do not implement as part of filing it or expand #3882 to include this work.
Additional context?
Parent release tracker: #3874 — Tracking for V3 Upgrade.
Related required-query work: #3882.
This is a v3 generator/API-coverage follow-up, not a claim that every optional query is currently unsupported. Existing supported optional OData behavior must remain intact. Track release disposition in the v3 upgrade issue; this filing alone does not classify the enhancement as a release blocker.
- Langage dominant
- C#
- Étoiles
- 909
- Forks
- 234
- Merge moyen
- 3 j 21 h
- PR mergées (30 j)
- 23
Préparer son environnement
- Fournit un Dockerfile ou un fichier Docker Compose
- Propose un modèle de pull request
- Lire le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de microsoftgraph/msgraph-sdk-powershell
-
Difficulté 2/5 1-3 heures Accessibilité débutants 84/100
microsoftgraph/msgraph-sdk-powershell#3752 ·
Les mainteneurs répondent en général sous 1 jour
-
Tracking for V3 UpgradePeut-être pris @ramsessanchez l’a pris il y a 9 jours. Ouvertetype:epic
microsoftgraph/msgraph-sdk-powershell#3874 · 1 personne assignée ·
Les mainteneurs répondent en général sous 1 jour
-
status:waiting-for-triage type:bug
Difficulté 4/5 3-5 jours Accessibilité débutants 48/100
microsoftgraph/msgraph-sdk-powershell#3873 ·
Les mainteneurs répondent en général sous 1 jour
-
status:waiting-for-triage type:bug
Difficulté 3/5 1-2 jours Accessibilité débutants 57/100
microsoftgraph/msgraph-sdk-powershell#3872 ·
Les mainteneurs répondent en général sous 1 jour
-
status:waiting-for-triage type:bug
Difficulté 4/5 3-5 jours Accessibilité débutants 55/100
microsoftgraph/msgraph-sdk-powershell#3831 ·
Les mainteneurs répondent en général sous 1 jour
Toutes les issues de microsoftgraph/msgraph-sdk-powershell
Issues similaires
-
Bug
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
ShareX/ShareX#9002 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
Facepunch/sbox-public#12305 ·
Les mainteneurs répondent en général sous 5 jours
-
分享 JVC DVD+RW 4.7G (铼德代工) 实测标定预设Ouverte
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
JiaFeiMiao-K-Cat/DiscImageStudio#205 ·
Les mainteneurs répondent en général sous 1 jour
-
bug keep-fresh
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
Flow-Launcher/Flow.Launcher#4744 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
flyingpie/windows-terminal-quake#419 ·
Les mainteneurs répondent en général sous 1 jour