Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Type issue: additionalData.metadata should be Record<string,string> #1457

Open
naseemkullah opened this issue Jan 24, 2025 · 0 comments
Open

Comments

@naseemkullah
Copy link

naseemkullah commented Jan 24, 2025

https://github.com/Adyen/adyen-openapi/blob/fd75cc4d9b401950fcbf90539becc26c32b259a9/yaml/Webhooks-v1.yaml#L1658-L1663

As per the spec, its an object not a string

below is the current workaround:

notificationRequestItem.additionalData?.metadata as unknown as Record<
      string,
      string
    >,
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant