Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

GraphQL File

No security coverage Obsolete 17 sites

Part of the Graphql ecosystem · 39 projects

This module provides a GraphQL field type that allows you to expose Drupal File entities in your GraphQL schema, including their ID, title, and URL.

Project Status: Unsupported

This is a small module designed to work with the Drupal File field type. It provides a GraphQL field type that can be used to return a File object.

Obsolete Notice

This module is now considered obsolete and is no longer maintained.

We strongly recommend that users migrate to alternative solutions as this module will not receive any updates or support. Below are some recommended alternatives:

Quickstart:

  1. Install the module using Composer.
  2. Enable the "GraphQL File" SchemaExtension on your graphQL server edit page.
  3. Include the field on the relevant Type to resolve as: File
  4. Install the module using Composer.

Requirements

GraphQL 4.X

Usage

This module provides a GraphQL field type that can be used like this:

type MyType {
  documents: [File]
}

The field will return a File object with the following properties:

* id: The file entity id
* title: The file entity name
* url: The file entity url

Drupal 9–10 · not 11

Ask your assistant about GraphQL File

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
4
Tracked since
Jun 2023
Latest release
2 years ago
Releases (12 mo)
0
Maintenance
Dormant

Release Timeline

Releases

Version Type Core PHP Release date
1.0.2 Stable 9–10 Jun 9, 2024
1.0.1 Stable 9–10 Jun 9, 2023
1.0.x-dev Dev 9–10 Jun 9, 2023
1.0.0-alpha1 Pre-release 9–10 Jun 2, 2023