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
I try to understand deserializing mechanisms in kiota.
I have generated a C# Client for an API and successfully integrated it in my application.
I successfully called several interfaces in the API using the client.
I can see the server responses nicely packaged in the classes that were generated by kiota.
But here i am facing a problem:
The method "GetFieldDeserializers" should be called for every object that is instantiated while deserializing the response from the server to define how the fields in the response are processed further.
But for some reason the "GetFieldDeserializers"-method is not called for objects of some classes - leading to objects that do not have accessible data!
My question is:
What indicates if the GetFieldDeserializers-Method is called for an object or not called for an object?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hello Kiota Community,
I try to understand deserializing mechanisms in kiota.
I have generated a C# Client for an API and successfully integrated it in my application.
I successfully called several interfaces in the API using the client.
I can see the server responses nicely packaged in the classes that were generated by kiota.
But here i am facing a problem:
The method "GetFieldDeserializers" should be called for every object that is instantiated while deserializing the response from the server to define how the fields in the response are processed further.
But for some reason the "GetFieldDeserializers"-method is not called for objects of some classes - leading to objects that do not have accessible data!
My question is:
What indicates if the GetFieldDeserializers-Method is called for an object or not called for an object?
Beta Was this translation helpful? Give feedback.
All reactions