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

Display.ElementSelected comes with a session object #78

Open
ThomasI81 opened this issue May 16, 2018 · 0 comments
Open

Display.ElementSelected comes with a session object #78

ThomasI81 opened this issue May 16, 2018 · 0 comments

Comments

@ThomasI81
Copy link

I found a inconsistent behaviour in the SpeechletService when handling the DisplayRequest.
Unfrotunately I don't have a good idea how to deal with it... so far.

The DisplayRequest is derived from ExtendedSpeechletRequest which is correct as it provides a type and a subtype. SpeechletService::ProcessRequestAsync(...) either handles ExtendedSpeechletRequests without
a Session object (which is also correct in terms of https://developer.amazon.com/de/docs/custom-skills/request-and-response-json-reference.html#request-body-parameters) or as an SpeechletRequest with Session object.

The problem is, that the Display.ElementSelected Event from Amazon comes with session information in the original JSON, it's correctly parsed but finally lost inside ProcessRequestAsync(..).
(It's not clearly stated in https://developer.amazon.com/de/docs/custom-skills/display-interface-reference.html#touch-selection-events)

Maybe someone has a good idea how to deal with it!

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

No branches or pull requests

1 participant