[MGNLRESTCL-161] Using arrays in the body method requires String literal Created: 12/May/20 Updated: 12/May/20 |
|
| Status: | Open |
| Project: | REST Client |
| Component/s: | None |
| Affects Version/s: | 2.0 |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Neutral |
| Reporter: | Scot Rhodes | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Template: |
|
| Acceptance criteria: |
Empty
|
| Task DoD: |
[ ]*
Doc/release notes changes? Comment present?
[ ]*
Downstream builds green?
[ ]*
Solution information and context easily available?
[ ]*
Tests
[ ]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
| Description |
|
When assigning the body property in restClient's definition, arrays seem to be required to be encapsulated in a string literal. For example: body: { "myArray": "[\"item1\",\"item2\"]" }
It would be more clear to maintainers if this value could be stored as: body: { "myArray": ["item1","item2"] }
Is this a possibility? |