Skip to content

Data helpers broken path and default value #842

@255kb

Description

@255kb

Describe the bug

When using data helper with a path to target a falsy value, the entire data bucket is returning.
When using dataRaw helper with a path, nothing is returned as the helper is looking in the wrong object.

To Reproduce

Use data helper to look for a falsy value in a data bucket (like {"response": false"}).
Try to use the dataRaw helper with a path.

Mockoon version:

1.21.0

OS / OS version:

All

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

✅ Done (ready for next release)

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions