Entry point into the RAD Asami adapter, collecting all the important functions at a single place.
Entry point into the RAD Asami adapter, collecting all the important functions at a single place.
(mock-resolver-env schema connection)
Returns a mock env that has the do/connections and do/databases keys that would be present in
a properly-set-up pathom resolver env
for a given single schema. This should be called after
you have seeded data against a connection
that goes with the given schema.
schema
- A schema nameconnection
- A database connection that is connected to a database with that schema.Returns a mock env that has the do/connections and do/databases keys that would be present in a properly-set-up pathom resolver `env` for a given single schema. This should be called *after* you have seeded data against a `connection` that goes with the given schema. * `schema` - A schema name * `connection` - A database connection that is connected to a database with that schema.
Use wrap-env instead for Pathom3 or cz.holyjak.rad.database-adapters.asami.pathom/pathom-plugin for v2
Use wrap-env instead for Pathom3 or cz.holyjak.rad.database-adapters.asami.pathom/pathom-plugin for v2
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close