#550: fix #[graphql(skip)] breaking compilation on ComplexObjects
This commit is contained in:
parent
57badd070a
commit
eb27dfd62f
@ -28,6 +28,7 @@ pub fn generate(
|
|||||||
let method_args: args::ObjectField =
|
let method_args: args::ObjectField =
|
||||||
parse_graphql_attrs(&method.attrs)?.unwrap_or_default();
|
parse_graphql_attrs(&method.attrs)?.unwrap_or_default();
|
||||||
if method_args.skip {
|
if method_args.skip {
|
||||||
|
remove_graphql_attrs(&mut method.attrs);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user