Skip to content
This repository was archived by the owner on Nov 14, 2023. It is now read-only.

Conversation

@lfarrel6
Copy link
Member

# Why

Replace with only returns options, which only allows for a new value to be put into the json object, or the value to be deleted. It does not allow the replace with closure to fail

How

Wrap the option in a result to allow the closure to short circuit on error

@lfarrel6 lfarrel6 merged commit c0f7504 into master Jun 21, 2021
@lfarrel6 lfarrel6 deleted the liam/ev-752-update-jsonpath-to-return-a-result-from branch June 21, 2021 10:29
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants