KittyMac / Sextant

High performance JSONPath queries for Swift
MIT License
50 stars 5 forks source link

Concat is giving correct result only once #8

Closed snr-lab closed 9 months ago

snr-lab commented 9 months ago

Run for first time input => { "x": "1", "Y": 2 } jsonpath => $.concat($.x,"-",$.y)

Run for second time input => { "x": "1", "Y": 5 } jsonpath => $.concat($.x,"-",$.y)

Expected output First time => 1-2 Second time => 1-5

Actual output First time => 1-2 Second time => 1-2

KittyMac commented 9 months ago

nice find! fixed in v0.4.29

snr-lab commented 9 months ago

Thank you @KittyMac