-
Notifications
You must be signed in to change notification settings - Fork 13
fix(nlu): update NLU slot type to be a map with custom property names #91
Conversation
BREAKING CHANGE: The NLU slot type was changed in version 5.0. This commit changes it back to what it was pre-5.0. slots will be a map, and the property names will be derived from the name given in the NLU metadata.
space-pope
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work; just have one question about the typing of value. The RN type declares it to be a string, but the Android code retains the Java type (as much as possible, at least). The latter approach would make RN behave most like the native APIs.
|
In case there was any confusion, edits to the API docs in the README should mainly be done in types.ts rather than in the README itself as the README is generated from the types. |
|
I thought it was autogenerated but forgot to track down the origin while I was reading (despite it being listed right in the file...) |
space-pope
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
BREAKING CHANGE: The NLU slot type was changed in version 5.0. This commit changes
it back to what it was pre-5.0. slots will be a map, and the property names will
be derived from the name given in the NLU metadata.
This also adds Minecraft NLU to the example app.