mirror of
				https://github.com/graphql-python/graphene-django.git
				synced 2025-10-26 05:30:59 +03:00 
			
		
		
		
	Old style if syntax
This commit is contained in:
		
							parent
							
								
									add131dd7f
								
							
						
					
					
						commit
						056cd4105e
					
				|  | @ -339,8 +339,9 @@ class GraphQLView(View): | ||||||
|             ) |             ) | ||||||
| 
 | 
 | ||||||
|         execute_args = (self.schema.graphql_schema, document) |         execute_args = (self.schema.graphql_schema, document) | ||||||
|  |         validation_errors = validate(*execute_args) | ||||||
| 
 | 
 | ||||||
|         if validation_errors := validate(*execute_args): |         if validation_errors: | ||||||
|             return ExecutionResult(data=None, errors=validation_errors) |             return ExecutionResult(data=None, errors=validation_errors) | ||||||
| 
 | 
 | ||||||
|         try: |         try: | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user