seamapi / csharp

CSharp SDK autogenerated from nextlove types.
1 stars 0 forks source link

Response from create Connect Webview does not include set customMetadata. #15

Closed DebbieAtSeam closed 10 months ago

DebbieAtSeam commented 11 months ago

In this code, the output form the last line does not include the set customMetadata, but if I get the same object using the HTTP API, it does show the set customMetadata. Is this the correct behavior, or should the create response include the set customMetadata?

var userId = "user1";
var customMetadata = new Dictionary<string, string>()
{
  {"id", userId}
};

var createdConnectWebview = seam.ConnectWebviews.Create(
  providerCategory: Seam.Api.ConnectWebviews.CreateRequest.ProviderCategoryEnum.Stable,
  customMetadata: customMetadata
);

Console.WriteLine(createdConnectWebview);
mxsdev commented 11 months ago

@DebbieAtSeam

Can you provide the result of Console.WriteLine(createdConnectWebview)?

DebbieAtSeam commented 11 months ago

@mxsdev: Just tried it, and now it shows the custom metadata!

DebbieAtSeam commented 11 months ago

I'm sorry if I just missed it before!

stale[bot] commented 10 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.