On version 3 of the module, and Drupal 9, there is an error about calling undefined method `File::url`. This PR should fix it: https://github.com/drupal-graphql/graphql/pull/1242