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
DeliveryClient.GetItem("Codename") delivers object of wrong type with given codename and tries to fit it in requested object type, please see attached screenshot.
The text was updated successfully, but these errors were encountered:
hello and thank you for your submission. the type parameter T in GetItemAsync<T> should either point to an existing strongly typed model the item you're requesting is based on, or it should be object, if you use TypeProvider to detect the type at runtime. in either case, using models/type provider from model generator is advised, as it ensures correct mapping of the response to its corresponding model.
have you used the model generator to create KontentAIType? if so, may I ask for version of the sdk and generator and ideally steps to reproduce this behavior?
DeliveryClient.GetItem("Codename") delivers object of wrong type with given codename and tries to fit it in requested object type, please see attached screenshot.
The text was updated successfully, but these errors were encountered: