VirtusLab-Open-Source / strapi-plugin-comments

A plugin for Strapi Headless CMS that provides end to end comments feature with their moderation panel, bad words filtering, abuse reporting and more.
MIT License
404 stars 63 forks source link

Custom fields do not Show in GraphQL #230

Open Eyon42 opened 9 months ago

Eyon42 commented 9 months ago

I added new fields in the src/extensions/comments/content-types/comment/schema.json file and I'm able to see them in the Content-Type editor. But they do not show on the GraphQL Schema and I can't query them.

Field in the Content-Type Editor image

The Schema (in Postman) image

Is there any way to register this for GraphQL?

cyp3rius commented 8 months ago

Hello @Eyon42 ,

You must as well extend the graphql and resolvers / queries. There is no other way to do this.

111Tashmo commented 1 month ago

waitting for solution