Closed picimako closed 1 year ago
The intention action that converts withBody(String) calls to withBase64Body(String) calls now supports only single String instances.
withBody(String)
withBase64Body(String)
[x] Extend the intention to support conversion when the argument consists of multiple concatenated strings, e.g.
withBody("{\n" + " \"property\": {\n" + " \"someKey\": \"someValue\"\n" + " }\n" + "}")
[x] Extend the intention to support text blocks, e.g.
withBody( """{ "property": { "someKey": "someValue" } }""")
[x] Explore and collect other WireMocha features that could be improved the same way.
Completed in v1.0.9.
Summary
The intention action that converts
withBody(String)
calls towithBase64Body(String)
calls now supports only single String instances.Tasks
[x] Extend the intention to support conversion when the argument consists of multiple concatenated strings, e.g.
[x] Extend the intention to support text blocks, e.g.
[x] Explore and collect other WireMocha features that could be improved the same way.