ex_debug_toolbar
ex_debug_toolbar copied to clipboard
Ecto Collector for Mysql
I got this error while compiling deps
== Compilation error in file lib/ex_debug_toolbar/collector/ecto_collector.ex ==
** (CompileError) lib/ex_debug_toolbar/collector/ecto_collector.ex:26: Postgrex.Cursor.__struct__/0 is undefined, cannot expand struct Postgrex.Cursor
(stdlib) lists.erl:1354: :lists.mapfoldl/3
(stdlib) lists.erl:1355: :lists.mapfoldl/3
(stdlib) lists.erl:1354: :lists.mapfoldl/3
lib/ex_debug_toolbar/collector/ecto_collector.ex:26: (module)
I get the same here. This project seems to be tailored for Postgres.
Could this happen within the method instead of it being a match on the function itself? https://github.com/kagux/ex_debug_toolbar/blob/master/lib/ex_debug_toolbar/collector/ecto_collector.ex#L26-L28