You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What are you generating using Kiota, clients or plugins?
API Client/SDK
In what context or format are you using Kiota?
Nuget tool
Client library/SDK language
Csharp
Describe the bug
After generating a C# client passing the options --deserializer=None --serializer=None a client is generated without any default serializers. If the OpenAPI spec is then updated, running kiota update fails with "sequence does not contain any elements"
Expected behavior
The client should be updated
How to reproduce
Create a C# client with no default serializer/deserializer factory
Modify the YAML spec
Run kiota update
Open API description file
No response
Kiota Version
1.15.0
Latest Kiota version known to work for scenario above?(Not required)
No response
Known Workarounds
No response
Configuration
Found on Windows 10, x64
Debug output
No response
Other information
Based on a quick debug, it appears that the kiota update command is trying to set up a factory class called "None", rather than treating this as an indication that there should be no default factories.
The text was updated successfully, but these errors were encountered:
further update - looks like it works if you use "none" rather than "None". Looks like a case (in)sensitivity mismatch between kiota generate and kiota update.
What are you generating using Kiota, clients or plugins?
API Client/SDK
In what context or format are you using Kiota?
Nuget tool
Client library/SDK language
Csharp
Describe the bug
After generating a C# client passing the options
--deserializer=None --serializer=None
a client is generated without any default serializers. If the OpenAPI spec is then updated, runningkiota update
fails with "sequence does not contain any elements"Expected behavior
The client should be updated
How to reproduce
kiota update
Open API description file
No response
Kiota Version
1.15.0
Latest Kiota version known to work for scenario above?(Not required)
No response
Known Workarounds
No response
Configuration
Found on Windows 10, x64
Debug output
No response
Other information
Based on a quick debug, it appears that the
kiota update
command is trying to set up a factory class called "None", rather than treating this as an indication that there should be no default factories.The text was updated successfully, but these errors were encountered: