Notify the user when their settings will be ignored #24077
Labels
kind/feature
A request for a new feature.
team/schema
Issue for team Schema.
topic: binaryTargets
topic: deployment/netlify
Problem
There are some cases when Prisma ignores the configs, provided by the user, but the user has no idea about that. For example, when Prisma runs on Netlify, it throws away anything the user specified in
binaryTargets
and downloads the query engine specified in the Prisma code.Suggested solution
Print a warning in the terminal, notifying the user about that:
Alternatives
Get rid of such magic stuff altogether and just tell the users what kind of
binaryTargets
they should use for every platform, instead of doing it implicitlyThe text was updated successfully, but these errors were encountered: