Latest version breaks ability to address objects declared in Enviroment
- Dominant language
- TypeScript
- Stars
- 40k
- Forks
- 2.4k
- Avg merge
- 2d 13h
- Merged PRs (30d)
- 61
Description
**Describe the bug**
With version 2020.2.2 can't access objects in arrays
{
"test": [
{
"a": 1
},
{
"b": 1
}
],
"aa": {{ test[0].a }},
**To Reproduce**
Steps to reproduce the behavior:
1. Declare an object in Base Environment with array of objects
2. Refer to it in the body of a request or in the environment
3. Not possible to refer to a property of this object
**Expected behavior**
This was working in version 7.1.x
**Screenshots**
attached
**Desktop (please complete the following information):**
- OS: Windows 10
- Installation Method: .exe
- App Version [e.g. v2020.2.2]
**Additional context**

Contributor guide
Research direction
Reproduce the issue using a Base Environment value containing an array of objects, then reference a nested property such as {{ test[0].a }} in a request or environment. Compare the behavior with version 7.1.x and confirm that array-object properties can again be addressed in version 2020.2.2 and later.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- api
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100