- Add
ordered_by
andordered_by_direction
options for Ecto connections so we can sort a connection by field.
- 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})
.
- Bump version to match GraphQL Elixir
- Update dependencies to v0.3 of GraphQL Elixir