I am using the gatsby-source-datocms
In the dato API Explorer I can order posts by position like so
query MyQuery {
allProjects(orderBy: position_ASC) {
slug
}
}
However in Gatsby the same query alludes me I have tried something like this below but it gives me this error Expected type SortOrderEnum, found position_ASC
query MyQuery {
allDatoCmsProject(sort: {order: position_ASC}) {
edges {
node {
slug
}
}
}
}