Iām trying to build a blog page where the user would be able to add content blocks re-order them as they please. When querying modular content blocks in my project, the same types get grouped together and Iām unable to order them in the same way they appear in the CMS when content was entered.
Hoping to get some help on if thereās a standard way to do this. Iām still new to using GraphQL too, so thereās definitely a gap in my knowledge there.
hello @ofh-datocms blocks in modular content should respect the same ordering you see in your admin interface, without grouping them by type. Are you using GatsbyJS or are you quering our graphql.datocms.com api endpoint directly?
Hi @fabrizio, thanks for replying!
Iām using Gridsome with VueJS with the @gridsome/source-datocms
plugin. That plugin only allows me to query the https://site-api.datocms.com api endpoint though; I get an āInvalid Endpointā error when I try the https://graphql.datocms.com/.