Skip to content

Added possibility to use new lines in json patterns #169

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 1 commit into from
Aug 11, 2019

Conversation

norberttech
Copy link
Member

This PR makes possible to use new lines in json patterns.
Below valid use case reported in #165

{
    "id": "@number@",
    "name": "@string@",
    "entries": "@array@.repeat({
        \"id\": \"@number@\",
        \"question\": \"@string@\",
        \"answer\": \"@string@\",
        \"os\": \"@*@\"
    })"
}

@norberttech norberttech merged commit 8c52bff into coduo:master Aug 11, 2019
@norberttech norberttech deleted the feature/json-newline-support branch August 11, 2019 17:11
@Linkinou
Copy link

Thank you again for that feature @norzechowicz .
Do you know when this will be available on 3.2.* ?

@norberttech
Copy link
Member Author

It wont be available in 3.2.*, it's merged to master and will be released as 4.0 but I'm working on one cool feature, I want to add possibility to dump backtrace from all matchers since not always error message is enough self descriptive.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants