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
To check to make sure that the database parameters can actually be used to connect to a database,
right now the JVM app calls .validate from decline and unsafely runs a quick query right now to see if it
succeeds.
To check to make sure that the database parameters can actually be used to connect to a database,
right now the JVM app calls
.validate
from decline and unsafely runs a quick query right now to see if itsucceeds.
However, this is impossible on JS --
unsafeRunSync
doesn't exist on IO in scala.js, and you can't callAwait.result
on a future https://www.scala-js.org/doc/project/linking-errors.html#using-blocking-apis-eg-awaitresultThis effect could pretty easily be moved out to app startup instead, which I think would let both apps verify connectivity before they
fully start up.
The text was updated successfully, but these errors were encountered: