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

fix(types): added name to format, and export Named #714

Merged
merged 1 commit into from
Oct 12, 2021

Conversation

yoniholmes
Copy link
Contributor

Issue #, if available:
Sorry, haven't raised an issue

Description of changes:

  1. Added name to Format. On our project we use registerFormat which takes an object (Format) with a formatter and a name. However, on switching to the latest version of SD, an error is thrown as the types weren't allowing name.
  2. Export Named. registerTransform takes Named<Transform> as an input, yet was not exported from SD as a type, so we weren't able to type these transforms independently. Exporting Named allows us to do this.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@chazzmoney chazzmoney merged commit 9ca0f6f into amzn:main Oct 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants