Improve Display
of a JsonPathQuery
#58
Labels
area: app
Improvements in overall CLI app usability
area: library
Improvements to the library API quality
area: proptest
Improvements to proptest coverage
type: reliability
Tests, code quality
Milestone
Is your feature request related to a problem? Please describe.
Current
Display
impl ofJsonPathQueryNode
(and thereforeJsonPathQuery
) is flawed. At minimum, it should round trip &ndash callingJsonPathQuery::parse(query.display())
should result in the same query. This is currently not the case due to labels containing the'
character.Describe the solution you'd like
The code is not too hard, the crucial part is verifying – proptests for round-tripping. These are easy to write, since we just need to generate arbitrary queries. Proptest infrastructure from #51 can be shared with this issue.
The text was updated successfully, but these errors were encountered: