-
Hello guys, I have juste created custom model let's name it "Brand" for example. I tried to get my "Brand" list data via the query GraphQL but it seems not working. ( Working for no custom models ) I have also tried to add permissions but same result. Do you know how can I access custom model via GraphQL ? Thanks for your help. |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 3 replies
-
@souksou Would you be able to provide the query used to retrieve the custom model that did not work as expected? |
Beta Was this translation helpful? Give feedback.
-
@souksou Additionally, can you advise what the namespace was set to for this custom model? |
Beta Was this translation helpful? Give feedback.
-
We are using brands as Namespace in our model. It's a simple query to test:
May be there is a manipulation to refresh our schema https://bluety-123.swell.store/graphql ? |
Beta Was this translation helpful? Give feedback.
-
I created /content/games For the query, i tried but it's not working. I'm not sure with the namespace /content, should i add something more ?
It's working correctly with swell.js:
Thanks a lot for your help |
Beta Was this translation helpful? Give feedback.
-
Seems working, the correct name is contentGames. thanks a lot for your help |
Beta Was this translation helpful? Give feedback.
Seems working, the correct name is contentGames.
thanks a lot for your help