Not entirely sure if this is the right channel, bu...
# prisma-client
b
Not entirely sure if this is the right channel, but is there a way to have a multi-line string or multi-line comment in a Prisma schema? I'm building a generator and I want to be able to pass in a string with configuration options like this:
Copy code
generator myThing {
    provider = "node ./dist/index.js"
    config = `
my config goes here
it is multiple lines
    `
}
Or like this if necessary:
Copy code
generator myThing {
    /**
my config goes here
it is multiple lines
    */
    provider = "node ./dist/index.js"
}
But I can't figure out a way to do it. Right now the best option seems to be to have a separate docstring comment for each line, but that gets annoying to type if there's a lot of lines:
Copy code
generator myThing {
    /// my config goes here
    /// it is multiple lines
    provider = "node ./dist/index.js"
}
r
@Benjamin Smith 👋 Unfortunately only single-line comments are supported at the moment. I would suggest creating a feature request with your use case so that we can look into this.
b
Thanks, I will do that!
👍 1