diff --git a/example/mutations/compare_roles.py b/example/mutations/compare_roles.py index aa959ae..98795a4 100644 --- a/example/mutations/compare_roles.py +++ b/example/mutations/compare_roles.py @@ -15,7 +15,7 @@ class RoleDiff(IntEnum): class Mutation(GraphQLObject): @GraphQLObject.field(name="compareRoles") @staticmethod - def resolveCompareRoles( + def resolve_compare_roles( obj, info: GraphQLResolveInfo, *, a: RoleEnum, b: RoleEnum ) -> RoleDiff: index_a = RoleEnum.__members__.index(a)