Code Monkey home page Code Monkey logo

Comments (4)

OptimumCode avatar OptimumCode commented on August 28, 2024 1

No worries, was happy to help) And I am glad that somebody uses the library)

from json-schema-validator.

OptimumCode avatar OptimumCode commented on August 28, 2024

Hi, @P72B. Thank you for reporting this issue.

Could you share a minimum project so I can reproduce the issue locally?
And what does req.body return in JS? Are you sure it returns JsonElement? I have not worked with JS for a long time, probably, you need first to deserialize the request payload using kotlin-serialization library in JS and only then pass it to the validation function

from json-schema-validator.

P72B avatar P72B commented on August 28, 2024

Hi @OptimumCode thank you for that incredible fast answer. You where right it's on the JS side. I had to JSON.stringify(reg.body) of course. I was so sure it's a valid JsonElement ^^. So there is no bug. It's just me beeing blind.

I appreciate your work on this great lib. Thank you.

from json-schema-validator.

P72B avatar P72B commented on August 28, 2024

Invalid bug report

from json-schema-validator.

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.