Code Monkey home page Code Monkey logo

Comments (5)

Stranger6667 avatar Stranger6667 commented on June 6, 2024 1

Hi @nokome

Sorry for the late reply! This problem went out of my scope and I think that it is separate - #100 will provide better error messages for sure, but at the moment meta schemas are only stored and not used for validation. I think that instead of CompilationError and ErrorIterator we can only have the latter and have it as the Err variant for the JSONSchema::compile return type. I'll keep it open, hopefully I'll have more time to work on this soon

from jsonschema-rs.

Stranger6667 avatar Stranger6667 commented on June 6, 2024 1

@nokome

FYI - as #198 is merged and released, schema errors are reported in the same fashion as validation errors. There is an error message & instance_path that may help with debugging

from jsonschema-rs.

Stranger6667 avatar Stranger6667 commented on June 6, 2024

If we'll have a metaschema validation, then this will be covered. Details are in #28

from jsonschema-rs.

nokome avatar nokome commented on June 6, 2024

Thanks for jsonschema πŸ™. I've just started using it, so perhaps a noob question...

With 0.6.0 I'm still only getting the error message Schema compilation error when using JSONSchema::compile(&schema) or JSONSchema::options().with_meta_schemas().compile(&schema). Should I be doing something different, or does this require #100 to be completed?

from jsonschema-rs.

Stranger6667 avatar Stranger6667 commented on June 6, 2024

Closed in favor of #198

from jsonschema-rs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.