-
Notifications
You must be signed in to change notification settings - Fork 210
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
Regression Failure because of #4615 #4707
Comments
rohitkrsoni
added
status:waiting-for-triage
An issue that is yet to be reviewed or assigned
type:bug
A broken experience
labels
May 23, 2024
rohitkrsoni
added a commit
to rohitkrsoni/kiota
that referenced
this issue
May 23, 2024
andrueastman
removed
the
status:waiting-for-triage
An issue that is yet to be reviewed or assigned
label
May 23, 2024
rohitkrsoni
added a commit
to rohitkrsoni/kiota
that referenced
this issue
May 24, 2024
andrueastman
added a commit
that referenced
this issue
May 24, 2024
refs #4707 bug fix to handle string array querry parameters.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What are you generating using Kiota, clients or plugins?
API Client/SDK
In what context or format are you using Kiota?
Source Build
Client library/SDK language
CLI
Describe the bug
There seems to be regression failure because of the fix provided for #4615.
Has about 16k errors like this one :
error CS0029: Cannot implicitly convert type 'string' to 'string[]'
This is created because parameters of type array is not getting handled correctly.
Example of parameter:
The option created in the Builder command is of type
string
:var testStringArrayParameterOption = new Option<string>("--test-string-array-parameter", description: "Usage: newParameter=@newParameter") { };
But the query Parameter is of type
string[]
:Hence, it unable to assign values during the run time.
Expected behavior
It should create the option of type
string[]
instead ofstring
How to reproduce
Open API description file
Kiota Version
1.14.0
Latest Kiota version known to work for scenario above?(Not required)
No response
Known Workarounds
No response
Configuration
No response
Debug output
No response
Other information
Please refer to #4615 and PR: #4679
The text was updated successfully, but these errors were encountered: