Update GraphiQL from 3.3.1 to 3.3.2 version (#1265)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kai Ren <tyranron@gmail.com>
This commit is contained in:
dependabot[bot] 2024-07-04 13:49:28 +02:00 committed by GitHub
parent b6e82ddc9c
commit a4974e179b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 22 additions and 22 deletions

View file

@ -17,10 +17,10 @@ All user visible changes to `juniper` crate will be documented in this file. Thi
### Changed
- Updated [GraphiQL] to [3.3.1 version](https://github.com/graphql/graphiql/blob/graphiql%403.3.1/packages/graphiql/CHANGELOG.md#331). ([#1264])
- Updated [GraphiQL] to [3.3.2 version](https://github.com/graphql/graphiql/blob/graphiql%403.3.2/packages/graphiql/CHANGELOG.md#332). ([#1265])
[#1252]: /../../pull/1252
[#1264]: /../../pull/1264
[#1265]: /../../pull/1265

View file

@ -4,7 +4,7 @@
"postinstall": "make graphiql graphql-playground"
},
"dependencies": {
"graphiql": "3.3.1",
"graphiql": "3.3.2",
"graphql-playground-react": "1.7.28"
}
}

View file

@ -42,10 +42,10 @@
favored resource bundler.
-->
<script
src="https://unpkg.com/graphiql@3.3.1/graphiql.min.js"
src="https://unpkg.com/graphiql@3.3.2/graphiql.min.js"
type="application/javascript"
></script>
<link rel="stylesheet" href="https://unpkg.com/graphiql@3.3.1/graphiql.min.css" />
<link rel="stylesheet" href="https://unpkg.com/graphiql@3.3.2/graphiql.min.css" />
<!--
These are imports for the GraphIQL Explorer plugin.
-->

View file

@ -9,23 +9,6 @@ error[E0119]: conflicting implementations of trait `MutuallyExclusive` for type
|
= note: this error originates in the macro `::juniper::sa::assert_type_ne_all` which comes from the expansion of the derive macro `GraphQLUnion` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0277]: the trait bound `std::string::String: GraphQLObject<__S>` is not satisfied
--> fail/union/struct_same_type_ugly.rs:4:14
|
4 | #[graphql(on String = Character::a)]
| ^^^^^^ the trait `GraphQLObject<__S>` is not implemented for `std::string::String`
|
= help: the following other types implement trait `GraphQLObject<S>`:
<&T as GraphQLObject<S>>
<Arc<T> as GraphQLObject<S>>
<Argument<'a, S> as GraphQLObject<S>>
<Box<T> as GraphQLObject<S>>
<EnumValue as GraphQLObject<__S>>
<SchemaType<'a, S> as GraphQLObject<S>>
<juniper::meta::Field<'a, S> as GraphQLObject<S>>
<juniper::schema::model::DirectiveType<'a, S> as GraphQLObject<S>>
<juniper::schema::model::TypeType<'a, S> as GraphQLObject<S>>
error[E0277]: the trait bound `std::string::String: GraphQLObject<__S>` is not satisfied
--> fail/union/struct_same_type_ugly.rs:5:14
|
@ -42,3 +25,20 @@ error[E0277]: the trait bound `std::string::String: GraphQLObject<__S>` is not s
<juniper::meta::Field<'a, S> as GraphQLObject<S>>
<juniper::schema::model::DirectiveType<'a, S> as GraphQLObject<S>>
<juniper::schema::model::TypeType<'a, S> as GraphQLObject<S>>
error[E0277]: the trait bound `std::string::String: GraphQLObject<__S>` is not satisfied
--> fail/union/struct_same_type_ugly.rs:4:14
|
4 | #[graphql(on String = Character::a)]
| ^^^^^^ the trait `GraphQLObject<__S>` is not implemented for `std::string::String`
|
= help: the following other types implement trait `GraphQLObject<S>`:
<&T as GraphQLObject<S>>
<Arc<T> as GraphQLObject<S>>
<Argument<'a, S> as GraphQLObject<S>>
<Box<T> as GraphQLObject<S>>
<EnumValue as GraphQLObject<__S>>
<SchemaType<'a, S> as GraphQLObject<S>>
<juniper::meta::Field<'a, S> as GraphQLObject<S>>
<juniper::schema::model::DirectiveType<'a, S> as GraphQLObject<S>>
<juniper::schema::model::TypeType<'a, S> as GraphQLObject<S>>