alexa-js / alexa-app

A framework for Alexa (Amazon Echo) apps using Node.js
https://www.youtube.com/watch?v=pzM4jv7k7Rg
MIT License
1.03k stars 212 forks source link

allow utterance expansion in custom slot type synonyms #352

Closed daanzu closed 6 years ago

daanzu commented 6 years ago

Would need flatMap, not map. Could I interest you in reduce?

kobim commented 6 years ago

My bad, I forgot that the synonyms array might expand. I liked the previous implementation better, can you revert to that and I'll merge your changes?

daanzu commented 6 years ago

Removed reduce version.

kobim commented 6 years ago

Thank you for your contribution!