@sodapopcan, @awerment thanks y’all for the discussion. This is the top of Library.Client.__using__:
defmacro __using__(opts) do
raise_if_no_schema(opts)
schema = opts[:schema]
module = Macro.expand(schema, __ENV__)
Code.ensure_compiled!(module)
defs = module.__schema__()
If i’m understanding correctly, because the above is entirely in the macro body of Library.Client.__using__, Testbed itself has no idea to interpret Schema as anything other than the atom and so no dependency exists. Injecting some sort of import, require, etc into Testbed will establish this. On the right track?


















