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
A good example of that is beta POST /deviceManagement/chromeOSOnboardingSettings/disconnect which returns chromeOSOnboardingStatus (enum)
Here are the changes we need to make:
Request adapter interface need to accept objects as well for the responseType argument of the "sendPrimitiveAsync" and "sendCollectionOfPrimitiveAsync" methods
reflect the changes to the implementation
add a case in the implementation to call getEnumValue/getCollectionOfEnumValues when an object is provided.
update kiota generation to use that method for enums, add a using to the Object of the enum, and pass that object (in CodeConstantWriter for the requests metadata constants)
required tests
The text was updated successfully, but these errors were encountered:
Request adapter interface need to accept objects as well for the responseType argument of the "sendPrimitiveAsync" and "sendCollectionOfPrimitiveAsync" methods
Just to confirm here that we should use "sendPrimitiveAsync" and "sendCollectionOfPrimitiveAsync" or align with other langs to add sendEnumAsync and sendCollectionOfEnumsAsync.
I think it'd make more sense to align with the other languages to be specific about what's expected from the implementations.
Especially with the reasoning you've provided here microsoft/kiota-dotnet#199
A good example of that is beta
POST /deviceManagement/chromeOSOnboardingSettings/disconnect
which returnschromeOSOnboardingStatus
(enum)Here are the changes we need to make:
The text was updated successfully, but these errors were encountered: