romul / newrelic.ex

NewRelic agent for Elixir
MIT License
64 stars 19 forks source link

Match pattern when infering model on pipeline of preload and all queries #1

Closed gabrieltaylor closed 7 years ago

gabrieltaylor commented 7 years ago

master was returning ** (Protocol.UndefinedError) protocol Ecto.Queryable not implemented for [%App.Model{}] when trying to infer the model used when a combination of Repo.all and Repo.preload are used.

romul commented 7 years ago

@gabrieltaylor Thank you for the contribution. Merged.