You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
which includes no way to return data back to the caller. It is therefore impossible to populate the data property with the 1.0 API, causing an API inconsistency.
There are three options:
Document and leave the inconsistency as is.
Remove the data property from the IntentResolution interface until it can be provided.
Amend the addIntentListener interface to include a way to pass data back to the caller.
The text was updated successfully, but these errors were encountered:
rikoe
changed the title
IntentResolution.data property not supported by addIntentListener callback
IntentResolution.data property not supported by addIntentListener callback
Oct 29, 2019
rikoe
changed the title
IntentResolution.data property not supported by addIntentListener callback
Bug: IntentResolution.data property not supported by addIntentListener callback
Oct 29, 2019
I would like to propose that we leave the discrepancy with the data property, and the concept of returning results from intents alone for the 1.2 release.
There is a lot going into the 1.2 release already, and I feel like we need to tackle this topic properly subsequent to the 1.2 release.
Things to consider are:
Better context type information about return types, and potentially strongly typing return data.
Adding information about return types as part of intent registration in the app directory, similar to outgoing context types.
The
IntentResolution
type returned byraiseIntent
is defined as follows:but the
addIntentListener
callback is defined as follows:which includes no way to return data back to the caller. It is therefore impossible to populate the data property with the 1.0 API, causing an API inconsistency.
There are three options:
data
property from theIntentResolution
interface until it can be provided.addIntentListener
interface to include a way to pass data back to the caller.The text was updated successfully, but these errors were encountered: