You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey @chrisdrackett, thanks a lot for opening this issue! I couldn't reproduce the error Argument of type '{ debug: boolean; }' is not assignable to parameter of type 'PhotonOptions'. that you shared, can you confirm that this actually works in the latest release?
in the docs here:
https://github.com/prisma/prisma2/blob/master/docs/photon/api.md#debugging
it mentions debug mode can be used with
const photon = new Photon({ debug: true })
however this raises an error in practice:Argument of type '{ debug: boolean; }' is not assignable to parameter of type 'PhotonOptions'.
It seems
log
is available and__internal: { debug: true }
not sure if either or both of these is equivalent.The text was updated successfully, but these errors were encountered: