Skip to content

Commit 417b211

Browse files
committed
Removed unnecessary extra validation
1 parent ea0d5e2 commit 417b211

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

graphql_relay/mutation/mutation.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,6 @@ def mutation_with_client_mutation_id(name, input_fields, output_fields, mutate_a
3030

3131
def resolver(__, args, info, *_):
3232
input = args.get('input')
33-
if not input:
34-
# TODO: Should be raised by Graphql
35-
raise GraphQLError('Input not provided')
3633
payload = mutate_and_get_payload(input, info)
3734
try:
3835
payload.clientMutationId = input['clientMutationId']

0 commit comments

Comments
 (0)