GraphQL Support for dotAssets and FileAssets in Image/File Fields
@fabrizzio-dotCMS is already working on this.
Since Sep 9, 2026.
- 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:
-
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.
-
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_mapescape 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
_mapworkarounds
Target Personas
- Developer teams
Links
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.