Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Transform component error #261

Open
Mikoteko opened this issue Sep 22, 2022 · 0 comments
Open

Transform component error #261

Mikoteko opened this issue Sep 22, 2022 · 0 comments
Assignees

Comments

@Mikoteko
Copy link
Collaborator

Mikoteko commented Sep 22, 2022

When I want to get the length of an array in the Transform Component :

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

pb1
pb2

@Mikoteko Mikoteko self-assigned this Sep 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant