Open Eyon42 opened 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.
src/extensions/comments/content-types/comment/schema.json
Field in the Content-Type Editor
The Schema (in Postman)
Is there any way to register this for GraphQL?
Hello @Eyon42 ,
You must as well extend the graphql and resolvers / queries. There is no other way to do this.
graphql
waitting for solution
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](https://github.com/VirtusLab-Open-Source/strapi-plugin-comments/assets/38871879/1c99050c-f663-4999-8285-acc884eab047)
The Schema (in Postman)![image](https://github.com/VirtusLab-Open-Source/strapi-plugin-comments/assets/38871879/1a0a8469-8b97-4878-a11a-bf2b5154427f)
Is there any way to register this for GraphQL?