Skip to content

Documentation: Following the readme does not work #311

Closed
@nwolff

Description

@nwolff

Following the current readme:

I installed json-schema:~2.0

I tried to follow the example in the usage section and the schema was never being read (and the validator always told me things were valid). It's because in version 2.0.x the validator expects an object containing a parsed schema and not a $ref->uri map.

Then I spent an hour in xdebug and then I found a discussion of a similar issue: #299

I think there are 2 fixes for this:

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