Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ecto Collector for Mysql #74

Open
papakay opened this issue May 14, 2018 · 2 comments
Open

Ecto Collector for Mysql #74

papakay opened this issue May 14, 2018 · 2 comments

Comments

@papakay
Copy link

papakay commented May 14, 2018

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)
@jalcine
Copy link

jalcine commented Oct 28, 2018

I get the same here. This project seems to be tailored for Postgres.

@jalcine
Copy link

jalcine commented Oct 28, 2018

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants