valentinpalkovic/prisma-json-schema-generator

Why Float is mapped to an Integer in the example given in readme.md

Closed this issue ยท 2 comments

Could you please explain why weight: Float? is mapped to Integer in the example given in the readme.md. The generated schema will invalidate the payload when weight is passed as a float value.

You are totally right! The example doesn't cover a floating number for the property weight. A fix is on it's way!

๐ŸŽ‰ This issue has been resolved in version 1.1.4 ๐ŸŽ‰

The release is available on:

Your semantic-release bot ๐Ÿ“ฆ๐Ÿš€