Extract mustache keys from action object When an action is created, we extract the mustache keys from various parts of the action and save it in the field `jsonPathKeys`. This same thing also happens in the update flow. Since mustache library doesn't have an extraction function, we use a regex template to extract those keys. We also modify the data type of the `body` parameter in the `ActionConfiguration` to String. This is because there are reserved characters that are not allowed as Mongo keys but are valid JSON keys. Converting to a string will remove all these problems. Fixes #31 See merge request theappsmith/internal-tools-server!58 |
||
|---|---|---|
| app/server | ||