Why source plugins try to infer data instead of feching the structure from CMS backend #32276
-
I have seen many people facing the same issue and have personally faced it many times in the past. I am not 100% sure why the source plugins uses this "automatic" way of inferring data types if the CMSs always have the data structure in their end and it's the source of truth. Why infert types based on the data returned instead of reading the data structure from CMS and building the graphql schema? I know we can customize schema do get around this but would be a bit overkilling to do that manually for every content type, specially for big websites. I have been using Let me describe the problem:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
After chatting about that with @KyleAMathews the answer is that some plugins like Sanity, DatoCMS, Wordpress already do that. Contentful is planning to do that in the major release #31385 |
Beta Was this translation helpful? Give feedback.
After chatting about that with @KyleAMathews the answer is that some plugins like Sanity, DatoCMS, Wordpress already do that. Contentful is planning to do that in the major release #31385