Closed
Conversation
836f4b5 to
ed7171e
Compare
377d199 to
b77a33c
Compare
053f0e5 to
95b740f
Compare
Member
This was referenced Nov 11, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

🎩 What? Why?
This pull request significantly expands and improves the Decidim GraphQL API, especially around user, moderation, and follow/like interfaces. It introduces several new GraphQL types for moderation and gamification, enhances the user and component interfaces, and makes the API more expressive and robust for client applications.
Key changes include:
New GraphQL Types for Moderation and Gamification
BadgeScoreType,UserModerationType,ModerationType,ReportableType, andReportableUserTypeto expose user badges and moderation/reporting details in the API. These types provide structured access to badge scores, moderation events, and user reports. [1] [2] [3] [4] [5] [6] [7]User Type and Interface Enhancements
UserTypeto implementFollowableInterfaceandTimestampsInterface, and added fields for about, badges, followers/following counts, and personal URL. Also, thebadgesfield now returns a list of badge scores if gamification is enabled. [1] [2]userandusersqueries to returnUserTypeinstead of the more genericAuthorInterface. Added new root queries for moderated users and moderations.Followable and Likeable Interface Improvements
followersfield toFollowableInterfaceand improved the description and consistency of fields inLikeableInterface. [1] [2]followersfield.Component and Attachment Type Improvements
ComponentInterfacewith publication date, visibility, and timestamp fields, and improved field ordering and descriptions.AttachmentTypeandAttachmentCollectionTypeby adding fields for IDs, content type, file size, link, and weight, and implemented timestamps. [1] [2]Taxonomy and Translation Improvements
children_countandtaxonomizations_countfields toTaxonomyTypefor richer taxonomy queries.TranslatedFieldType.Test Factory Updates
These changes collectively make the Decidim API more comprehensive and ready for advanced moderation, gamification, and social features.
Please describe your pull request.
📌 Related Issues
Link your PR to an issue
Testing
Check the specs, check the api & and api docs
📷 Screenshots
Please add screenshots of the changes you are proposing
