From d53eb1a9ff9578233769d06c5d95d14bcfce21dc Mon Sep 17 00:00:00 2001 From: sunli Date: Wed, 27 May 2020 18:07:38 +0800 Subject: [PATCH] Fix Service type name error. --- src/types/query_root.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/types/query_root.rs b/src/types/query_root.rs index 969e0344..aab9aa91 100644 --- a/src/types/query_root.rs +++ b/src/types/query_root.rs @@ -10,7 +10,7 @@ use indexmap::map::IndexMap; use std::borrow::Cow; /// Federation service -#[SimpleObject(internal)] +#[SimpleObject(internal, name = "_Service")] struct Service { sdl: Option, }