assemblee-virtuelle / assemblee-virtuelle/Semantic-Bus

Transform component error

Open
#261 0 comments 0 reactions 1 assignee Claimed by @Mikoteko View on GitHub
Dominant language
JavaScript
Stars
57
Forks
10
Avg merge
8m
Merged PRs (30d)
55

Description

When I want to get the length of an array in the Transform Component :
```js
http-datasource {
body-length : ={$.http-datasource.body}.length
}
http-api {
body-length : ={$.http-api.body}.length
}
```
It works with the Transformer version 1 (V1), we can get the 2 lengths. (Even when typing ```$.http-datasource.body.length```)
But with the second version of the Transformer (V2), we can only get the second length in the http-api object.
No typo error has been made.

[Link](https://grappe.io/ihm/application.html#workspace/6329c7a31a1bfc0011bfe3b3/component)

![pb1](https://user-images.githubusercontent.com/63355855/191707441-f7e6b3f1-decd-4e77-9f62-cdd498fba53a.png)
![pb2](https://user-images.githubusercontent.com/63355855/191707949-557b03cf-5cd4-4a76-b3dc-bd34d4eddc5c.png)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.