@@ -320,7 +320,7 @@ <h2 id="schema"><a class="header" href="#schema">Schema</a></h2>
320320
321321// Root schema consists of a query, a mutation, and a subscription.
322322// Request queries can be executed against a `RootNode`.
323- type Schema = juniper::RootNode<'static, Query, Mutation, EmptySubscription<Context>>;
323+ type Schema = juniper::RootNode<Query, Mutation, EmptySubscription<Context>>;
324324< span class ="boring ">
325325</ span > < span class ="boring "> fn main() {
326326</ span > < span class ="boring "> _ = Schema::new(Query, Mutation, EmptySubscription::new());
@@ -360,7 +360,7 @@ <h2 id="execution"><a class="header" href="#execution">Execution</a></h2>
360360 }
361361}
362362
363- type Schema = juniper::RootNode<'static, Query, EmptyMutation<Ctx>, EmptySubscription<Ctx>>;
363+ type Schema = juniper::RootNode<Query, EmptyMutation<Ctx>, EmptySubscription<Ctx>>;
364364
365365fn main() {
366366 // Create a context.
@@ -2521,7 +2521,7 @@ <h3 id="supported-out-of-the-box"><a class="header" href="#supported-out-of-the-
25212521</ span > }
25222522}
25232523
2524- type Schema = RootNode<'static, Query, Mutation, EmptySubscription>;
2524+ type Schema = RootNode<Query, Mutation, EmptySubscription>;
25252525< span class ="boring ">
25262526</ span > < span class ="boring "> fn main() {}</ span > </ code > </ pre > </ pre >
25272527< blockquote >
@@ -2592,7 +2592,7 @@ <h3 id="json"><a class="header" href="#json">JSON</a></h3>
25922592 }
25932593}
25942594
2595- type Schema = RootNode<'static, Query, EmptyMutation, EmptySubscription>;
2595+ type Schema = RootNode<Query, EmptyMutation, EmptySubscription>;
25962596
25972597fn main() {
25982598 // Run the built-in introspection query.
@@ -2708,7 +2708,7 @@ <h2 id="coordinator"><a class="header" href="#coordinator">Coordinator</a></h2>
27082708</ span > < span class ="boring "> }
27092709</ span > < span class ="boring "> }
27102710</ span > < span class ="boring ">
2711- </ span > type Schema = RootNode<'static, Query, EmptyMutation<Database>, Subscription>;
2711+ </ span > type Schema = RootNode<Query, EmptyMutation<Database>, Subscription>;
27122712
27132713fn schema() -> Schema {
27142714 Schema::new(Query, EmptyMutation::new(), Subscription)
@@ -2772,7 +2772,7 @@ <h2 id="disabling"><a class="header" href="#disabling">Disabling</a></h2>
27722772 }
27732773}
27742774
2775- type Schema = RootNode<'static, Query, EmptyMutation, EmptySubscription>;
2775+ type Schema = RootNode<Query, EmptyMutation, EmptySubscription>;
27762776
27772777fn main() {
27782778 let schema = Schema::new(Query, EmptyMutation::new(), EmptySubscription::new())
0 commit comments