Replies: 2 comments 2 replies
-
Hi @m1212e 👋 Thank you for raising this question. This looks like a feature request as we support this functionality at the moment. Can you please open a feature reuest so that our engineers can take a look. If this answers your question, it would be great if you could mark this Discussion as answered to indicate that it has been resolved. Otherwise please let us know how else we can help you further or close the Discussion if it was resolved in some other way 🙏 |
Beta Was this translation helpful? Give feedback.
-
Are you reporting that We have an issue around DMMF related problems here: #18561 But I do not see that mentioned there yet. |
Beta Was this translation helpful? Give feedback.
-
Question
Hi, did you consider parsing /// comments for @@ annotations?
See this issue for detailed context: Brakebein/prisma-generator-nestjs-dto#28
I use a generator that outputs DTOs based on the schema. In concept, this happens:
The parser sees this model
And generates this
The generator allows ignoring certain fields you don't want to appear in the output by adding a comment like
/// @DTOHide
to a field. Now if I would like to disable output of thename_attribute
I can't because the parser does not pick up the comment for the @@ annotation.Beta Was this translation helpful? Give feedback.
All reactions