This repository has been archived by the owner on Jul 9, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 27
Unable to serialise CallRecord types #217
Labels
Comments
Thanks for raising this @cowlinb6 I suspect the error you're seeing is related to microsoft/kiota#4514. However, callRecord.AdditionalData = new(); |
microsoft-github-policy-service
bot
added
Needs: Attention 👋
and removed
Needs: Author Feedback
labels
Apr 29, 2024
This is probably because of the backingStore. We're looking to enhance the Does the following work for you? var callRecord = await _graphServiceClient.Communications.CallRecords[id]
.GetAsync((config) =>
{
config.QueryParameters.Expand = new string[] { "sessions($expand=segments)" };
});
callRecord.BackingStore.InitializationCompleted = false;
var raw = KiotaJsonSerializer.SerializeAsString<CallRecord>(callRecord); |
Yes this does work. Thanks @andrueastman for the quick response on this |
microsoft-github-policy-service
bot
added
Needs: Attention 👋
and removed
Needs: Author Feedback
labels
Apr 29, 2024
Thanks for confirming. We'll close this one for now.
Currently tracked for all languages via microsoft/kiota-java#1131 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Similar issue to #212 but with CallRecord types.
When attempting to serialise a CallRecord type:
This fails with the error below:
How should I be serialising this type?
The text was updated successfully, but these errors were encountered: