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

Bump dataloader from 1.0.10 to 1.0.11 #194

Merged
merged 1 commit into from
Jul 31, 2023

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jul 31, 2023

Bumps dataloader from 1.0.10 to 1.0.11.

Changelog

Sourced from dataloader's changelog.

v1.0.11 (unreleased)

  • Feature: Handle sync vs async via an option passed in at Dataloader.new() and KV.new(). Example:
  def dataloader(ctx \\ %{}) do
    Dataloader.new(async?: !MyApp.Repo.in_transaction?())
    |> Dataloader.add_source(MainLoader, MainLoader.data(ctx))
  end

Note that ecto sources will automatically handle whether to perform queries sync or async depending on if it's in a transaction. IMPORTANT: The option MUST be passed to Dataloader.new for this to work properly. In order for this to happen automatically, upgrade to 2.0

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [dataloader](https://github.com/absinthe-graphql/dataloader) from 1.0.10 to 1.0.11.
- [Changelog](https://github.com/absinthe-graphql/dataloader/blob/v1.0.11/CHANGELOG.md)
- [Commits](https://github.com/absinthe-graphql/dataloader/commits/v1.0.11)

---
updated-dependencies:
- dependency-name: dataloader
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file elixir Pull requests that update Elixir code labels Jul 31, 2023
Copy link

@mergify mergify bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Automatically approving dependabot

@codecov
Copy link

codecov bot commented Jul 31, 2023

Codecov Report

Patch and project coverage have no change.

Comparison is base (617b381) 75.66% compared to head (d044e99) 75.66%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #194   +/-   ##
=======================================
  Coverage   75.66%   75.66%           
=======================================
  Files          27       27           
  Lines         300      300           
=======================================
  Hits          227      227           
  Misses         73       73           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@mergify mergify bot merged commit b9d432a into main Jul 31, 2023
15 checks passed
@dependabot dependabot bot deleted the dependabot/hex/dataloader-1.0.11 branch July 31, 2023 01:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file elixir Pull requests that update Elixir code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants