Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Proposed Changes
I wanted to use the APLA Feature for Alexa Repromts and saw that the type did not exist yet on the Alexa reprompt type. I also could not find a class for the APLA Render Document in general, which is why I added that, and added the possibility to add this both in the response itself as well as in the reprompt directives. The reprompt directives can only contain this one directive (see docs). I saw that these directives have corresponding classes with class-transformer decorators to transform JSON/Pojo Objects into instances. I was however not exactly sure when this transformation happens exactly. I tried to make my changes in a way that I saw in the other Directives / Response, but am not 100% sure, I have not forgotten. I tried using it with just adding a pojo directive to the reprompt, which seems to look good now. I'd be happy about feedback!
Types of Changes
Checklist