Skip to content
This repository has been archived by the owner on Jan 14, 2021. It is now read-only.

Switching to kebab-case on QE/ME/IE params #542

Merged
merged 1 commit into from Mar 4, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/engine-core/src/NodeEngine.ts
Expand Up @@ -338,7 +338,7 @@ ${chalk.dim("In case we're mistaken, please report this to us 🙏.")}`)

const prismaPath = await this.getPrismaPath()

const flags = ['--enable_raw_queries', ...this.flags]
const flags = ['--enable-raw-queries', ...this.flags]
debug({ flags })

this.child = spawn(prismaPath, flags, {
Expand Down
2 changes: 1 addition & 1 deletion packages/photon/src/generation/TSClient.ts
Expand Up @@ -543,7 +543,7 @@ ${this.jsDoc}
logLevel: options.log && getLogLevel(options.log),
logQueries: options.log && Boolean(options.log.find(o => typeof o === 'string' ? o === 'query' : o.level === 'query')),
env: envFile,
flags: options.forceTransactions ? ['--always_force_transactions'] : []
flags: options.forceTransactions ? ['--always-force-transactions'] : []
}

debug({ engineConfig: this.engineConfig })
Expand Down