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