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
Added StringExpression,ValueExpression, etc. for expression or value access
added a ton of unit tests for the expression stuff
For ambigious expressions (StringExpression and ValueExpression) it will treat as string interpolation unless it starts with =. "Hello @{world}" ==> "hello world", "=user.foo" => Expression("user.foo")
Added assignment operators so you can assign string expressions to expression properties.
cleaned up dialogs files
Exposed Dialogset to DialogManager so you can register external external dialogs
Added DialogId to BeginDialog to allow you to invoke external dialogs
It basically boils down to how to deal with strings as input:
StringExpression always assumes string interpolation unless prefixed with =, producing a string
ValueExpression always assumes string interpolation unless prefixed with =, producing an object which MAY be a string
ExpressionProperty<T> always assumes strings represent something to be interpreted as the type of T, so always producing object of T.
StringExpression
Interpretation of string is as a string interpolation result unless =.
It basically boils down to how to deal with strings as input:
StringExpression
Interpretation of string is as a string interpolation result unless =.
BoolExpression
Interpretation of string is as a bool expression
IntExpression
Interpretation of string is as a int expression
FloatExpression
Interpretation of string is as a float expression
ExpressionProperty
Interpretation of string is as a T expression
ValueExpression (T == object)
Interpretation of string is as a string interpolation result unless =.
Also Fixes Bugs
#3166 Luis settings not parsed correctly
#3236 Use dialogId as an expression
#3219 HttpRequest body not parsed correctly
The text was updated successfully, but these errors were encountered: