Open Tohaker opened 1 month ago
The field source
is not documented and should not be used.
https://docs.commercetools.com/api/projects/subscriptions#eventbridgedestination
Oh nice catch. I will forward it to the respective team if it should be public and then be documented or not.
Describe the bug When creating or getting a subscription with
sdk-client-v2
that targets EventBridge, the response has thesource
property underdestination
but the type omits this field.To Reproduce Observe the types in https://github.com/commercetools/commercetools-sdk-typescript/blob/master/packages/platform-sdk/src/generated/models/subscription.ts#L254
Expected behavior The
source
field should bestring | undefined
Screenshots/Code snippet
Stack information (please complete the following information):