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
413 stars 65 forks source link

Custom fields do not Show in GraphQL #230

Open Eyon42 opened 1 year ago

Eyon42 commented 1 year 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 1 year ago

Hello @Eyon42 ,

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

111Tashmo commented 6 months ago

waitting for solution