IssueRaiser

Support manipulating strings in `datasource` configuration

## Problem The current implementation of data source configuration assumes a connection URI, but sometimes the connection will be exposed through individual environment variables, i.e. for username, password, hostname, port, etc. ## Suggested solution Support string interpolation or concatenation ## Alternatives Not considered ## Additional context * [Support for concatenation in Prisma file #584](https://github.com/prisma/prisma/issues/584) * https://github.com/prisma/prisma/issues/3382

Posted by albertoperdomo on May 26, 2020, 8:50 AM

Tags

Related issues

Raise real-world problems, find people facing the same issue, and discuss solutions.3,500 issues0 comments

support (Software)

Support manipulating strings in `datasource` configuration

albertoperdomoMay 26, 2020, 8:50 AM

## Problem The current implementation of data source configuration assumes a connection URI, but sometimes the connection will be exposed through individual environment variables, i.e. for username, password, hostname, port, etc. ## Suggested solution Support string interpolation or concatenation ## Alternatives Not considered ## Additional context * [Support for concatenation in Prisma file #584](https://github.com/prisma/prisma/issues/584) * https://github.com/prisma/prisma/issues/3382

Comments (0)

No comments yet. Start the discussion.

Comment on this issue