retort v2.1.0 Retort.Sandbox

Generates tokens and redeems those tokens for access to Ecto sandbox, such as Ecto.Adapters.SQL.Sandbox

Summary

Functions

Uses decoded beam metadata to allow the current proceess access to the repo of owner

repo and owner process in a versioned format

Functions

allow_access(sandbox \\ Ecto.Adapters.SQL.Sandbox, token)
allow_access(module, %{owner: pid, repo: module}) :: :ok

Uses decoded beam metadata to allow the current proceess access to the repo of owner.

version1_token(repo)
version1_token([module] | module) :: map

repo and owner process in a versioned format