Skip to content

Improve error message for missing json property in constructor #110

@rozele

Description

@rozele

Given the following:

new JSONPath({ path: "$" })

The error message is:

You must supply a "path" property when providing an object argument to JSONPath.evaluate().

It should probably be:

You must supply a "json" property when providing an object argument to JSONPath.evaluate().

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions