prisma-json-schema-generator icon indicating copy to clipboard operation
prisma-json-schema-generator copied to clipboard

A generator for Prisma 2 to generate a valid JSON Schema (v7)

Results 37 prisma-json-schema-generator issues
Sort by recently updated
recently updated
newest added

Bumps [@prisma/internals](https://github.com/prisma/prisma/tree/HEAD/packages/internals) from 5.8.1 to 5.21.1. Release notes Sourced from @​prisma/internals's releases. 5.21.1 Fixed a bug where migrations were not using shadow database correctly in some edge cases 5.21.0 Today,...

dependencies
javascript

Bumps [@prisma/generator-helper](https://github.com/prisma/prisma/tree/HEAD/packages/generator-helper) from 5.8.1 to 5.21.1. Release notes Sourced from @​prisma/generator-helper's releases. 5.21.1 Fixed a bug where migrations were not using shadow database correctly in some edge cases 5.21.0 Today,...

dependencies
javascript

Hello, first of all, thanks for this magnificent code. I wonder if there is any possible way to include information about @_unique-ness, functional default values (i.e. @_default(now()) and attributes that...

This appears to be a bug, but if not, then a work around be be appreciated: https://github.com/valentinpalkovic/prisma-json-schema-generator/blob/d2d6fba55bbe1caff0979be27e39a6ed5506452d/src/tests/generator.test.ts#L28 https://github.com/valentinpalkovic/prisma-json-schema-generator/blob/d2d6fba55bbe1caff0979be27e39a6ed5506452d/src/tests/generator.test.ts#L592-L595 https://github.com/valentinpalkovic/prisma-json-schema-generator/blob/d2d6fba55bbe1caff0979be27e39a6ed5506452d/src/tests/generator.test.ts#L619-L620 Surely `Posts` should be a required field? In my case, I...

Prisma does support multiple files organization now: https://www.prisma.io/blog/organize-your-prisma-schema-with-multi-file-support It would be a nice feature to split those files into multiple json schemas.

enhancement

A required type or list type does not get the `originalType` field. https://github.com/valentinpalkovic/prisma-json-schema-generator/blob/d2d6fba55bbe1caff0979be27e39a6ed5506452d/src/generator/properties.ts#L112-L130 I found this odd, because I cannot see a reason my `Config` type should not have a...

Bumps [prettier](https://github.com/prettier/prettier) from 3.0.3 to 3.3.3. Release notes Sourced from prettier's releases. 3.3.3 πŸ”— Changelog 3.3.2 πŸ”— Changelog 3.3.1 πŸ”— Changelog 3.3.0 diff πŸ”— Release note 3.2.5 πŸ”— Changelog 3.2.4...

dependencies
javascript