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

Generate does not remember custom additions to the schema

Open aflatoon2874 opened this issue 4 years ago • 0 comments

  • Problem: Please note that re-generation of the schema does not remember any custom additions done to the old schema file. For example, in the following fragment minimum and maximum attributes have been added manually.
...
"noOfLicenses": {
  "type": "Integer",
  "minimum: 0,
  "maximum": 200
},
...
  • Expectation: Any custom attributes should be remembered and copied to the new schema file.

aflatoon2874 avatar Oct 22 '20 10:10 aflatoon2874