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
First of, love the project, great work here, helps us a lot!
We have multiple models and types in our schema.prisma file with many comments.
When generating GraphQL classes we are missing all doc strings on the types.
Sample schema.prisma:
## Descriptions lost
/// NameValueUnit explains itself
type NameValueUnit {
/// Name is foo
name String?
/// Value is bar
value Float?
/// Unit is baz
unit String?
}
## Works as expected, descriptions are on GraphQL Classes
/// testing
model Test {
/// NameValueUnit
nvu NameValueUnit
}
Am I doing something wrong?
Is it possible to add these or is this an upstream issue with Prisma?
Edit
Found a related Ticket on Prisma prisma/prisma#13726 . Seems like an upstream issue.
The text was updated successfully, but these errors were encountered:
I'm the author of prisma-ast. I wanted to drop in and mention that prisma-ast now supports composite types as of v0.9.0. If you notice any other prisma objects that are missing, don't hesitate to leave me a note. I may not know about them otherwise.
First of, love the project, great work here, helps us a lot!
We have multiple models and types in our schema.prisma file with many comments.
When generating GraphQL classes we are missing all doc strings on the types.
Sample schema.prisma:
Am I doing something wrong?
Is it possible to add these or is this an upstream issue with Prisma?
Edit
Found a related Ticket on Prisma prisma/prisma#13726 . Seems like an upstream issue.
The text was updated successfully, but these errors were encountered: