Skip to content

Comments

Bump async-graphql from 2.11.3 to 3.0.38#60

Open
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/cargo/async-graphql-3.0.38
Open

Bump async-graphql from 2.11.3 to 3.0.38#60
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/cargo/async-graphql-3.0.38

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github Apr 11, 2022

Bumps async-graphql from 2.11.3 to 3.0.38.

Release notes

Sourced from async-graphql's releases.

3.0

Changes in v3.0:

Use the SimpleObject macro and the InputObject macro at the same time.

#[derive(SimpleObject, InputObject)]
#[graphql(input_name = "MyObjectInput")]
struct MyObject {
    #[graphql(default = 10)]
    a: i32,
    b: bool,
}

Types that are not referenced will be hidden in introspection.

#[derive(SimpleObject)]
struct MyObj {
    a: i32,
}
#[Object]
struct Query {
#[graphql(visible = false)]
fn obj(&self) -> MyObj {
todo!()
}
}
let schema = Schema::new(Query, EmptyMutation, EmptySubscription);
assert_eq!(
schema.execute(r#"{ __type(name: "MyObj") { name } }"#).await.into_result().unwrap().data,
value!({ "__type": null })
);

Make the API of integrations is more consistent.

Remove async-graphql-tide.

Rework validators.

Built-in validator:

struct Query;
#[Object]
impl Query {
async fn value1(&self, #[graphql(validator(maximum = 10))] n: i32) -> i32 {
</tr></table>

... (truncated)

Changelog

Sourced from async-graphql's changelog.

[3.0.38] 2022-4-8

  • Update Axum integration to Axum 0.5.1 #883
  • Support macro type in enum variant. #884
  • Introduce process_with for input object #817
  • Add MaybeUndefined::update_to method. #881

[3.0.37] 2022-3-30

  • Panics when the same Rust type has the same name. #880

[3.0.36] 2022-3-22

  • Generate @deprecated to SDL. #874
  • Expose Connection::edges. #871

[3.0.35] 2022-3-14

  • Make HashMap more generics for InputOutput and OutputType.
  • Add support group attribute to Object/SimpleObject/ComplexObject/Subscription macros. #838
  • Fixed recursive generic input objects failing to compile. #859
  • Add ErrorExtensionValues::get method. #855

[3.0.34] 2022-3-5

  • Export @oneOf directive to SDL when Oneof type is defined. #766

[3.0.33] 2022-3-4

  • Add support for oneof field on object. #766

[3.0.32] 2022-3-4

  • Bump Actix-web from 4.0.0-rc.3 to 4.0.1.

[3.0.31] 2022-02-17

  • Add OneOfObject macro to support for oneof input object.
  • Bump actix-web from 4.0.0-rc.2 to 4.0.0-rc.3.

[3.0.30] 2022-2-15

  • Implement ScalarType for time::Date. #822

[3.0.29] 2022-2-6

  • Pass context to resolvers with flatten attribute. #813
  • Add support for using both ComplexObject and InputObject.
  • Bump Actix-web from 4.0.0-beta.19 to 4.0.0-rc.2.

... (truncated)

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 [async-graphql](https://github.com/async-graphql/async-graphql) from 2.11.3 to 3.0.38.
- [Release notes](https://github.com/async-graphql/async-graphql/releases)
- [Changelog](https://github.com/async-graphql/async-graphql/blob/master/CHANGELOG.md)
- [Commits](https://github.com/async-graphql/async-graphql/commits)

---
updated-dependencies:
- dependency-name: async-graphql
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Apr 11, 2022
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants