dotCMS / dotCMS/core

GraphQL Support for dotAssets and FileAssets in Image/File Fields

Open
#34,540 4 comments 0 reactions 2 assignees View on GitHub

@fabrizzio-dotCMS is already working on this.

Since Sep 9, 2026.

Team : Scout
Dominant language
Java
Stars
970
Forks
486
Avg merge
3d 33m
Merged PRs (30d)
170

Description

Description

Currently, when querying content with asset relationships through GraphQL, there are critical issues affecting both dotAssets and FileAssets:

  1. User created fields not accessible - User created fields on dotAssets and FileAssets cannot be queried through GraphQL, blocking AI tagging workflows and rich metadata access.

  2. Incomplete GraphQL schema - The DotAsset type definition is missing 20+ properties that are available via _map, including: fileName, publishDate, mimeType, size, extension, url, creationDate, name, shortyId, and others. This breaks GraphQL's self-documenting nature and forces developers to rely on the _map escape hatch.

  • The GraphQL schema for DotAsset exposes all available properties through schema introspection
  • Custom fields defined on dotAsset and FileAsset content types are queryable via GraphQL
  • Developers can build headless applications without N+1 query patterns or _map workarounds

Target Personas

  • Developer teams

Links

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.