Open marktani opened 6 years ago
Comment by michaelspeed Thursday Dec 28, 2017 at 16:36 GMT
i found a solution - place firebase key in yml
firebaseAuthentication: type: resolver schema: handler: code: src: src/firebase/firebaseAuthentication.ts environment: firebasekey: '{ "type": "service_account", "project_id": "", "private_key_id": "", "private_key": "", "client_email": "", "client_id": "", "auth_uri": "", "token_uri": "", "auth_provider_x509_cert_url": "", "client_x509_cert_url": "" }'
and then from ts accessing it like this -
const serviceAccount = process.env['firebasekey'];
Issue by marktani Thursday Dec 28, 2017 at 14:49 GMT Originally opened as https://github.com/graphcool/prisma/issues/1456
Current behavior
Relative imports, such as
is not correctly resolved when doing
--dry-run
. Error message:It works when normally deploying, however.