Skip to content

0.4.0

Compare
Choose a tag to compare
@seanabrahams seanabrahams released this 01 Jul 19:19
  • 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 for GraphQL.Relay.Connection.Ecto.resolve/2. It makes no sense to add your Ecto Repo to args. You can now pass it directly as the first argument, which makes much more sense. GraphQL.Relay.Connection.Ecto.resolve(Repo, query) not GraphQL.Relay.Connection.Ecto.resolve(query, %{repo: Repo}).