You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@valentinpalkovic Thank you. The added context does help. Here is what I am not understanding still:
As in the tests example mentioned above, why is the posts field "optional", but keywords and biography required? They have the same annotations (none).
This appears to be a bug, but if not, then a work around be be appreciated:
prisma-json-schema-generator/src/tests/generator.test.ts
Line 28 in d2d6fba
prisma-json-schema-generator/src/tests/generator.test.ts
Lines 592 to 595 in d2d6fba
prisma-json-schema-generator/src/tests/generator.test.ts
Lines 619 to 620 in d2d6fba
Surely
Posts
should be a required field?In my case, I have the following type:
Same goes for
TagConfig
andQuestionConfig
- they are required, but do not get treated as such.I am happy to contribute a fix, if this is unintentional
The text was updated successfully, but these errors were encountered: