0.4.0
- Update optional dependency for Ecto to support both Ecto v1.x and v2.x.
- Add
GraphQL.Relay.Connection.Ecto.resolve/3
and include deprecation warning forGraphQL.Relay.Connection.Ecto.resolve/2
. It makes no sense to add your Ecto Repo toargs
. You can now pass it directly as the first argument, which makes much more sense.GraphQL.Relay.Connection.Ecto.resolve(Repo, query)
notGraphQL.Relay.Connection.Ecto.resolve(query, %{repo: Repo})
.