Hi, Iāve just updated to the last version of gatsby-source-datocms.
I think that with the changes around locales, now I have warn about sorting on specific field
āThe enum value āDatoCms[Model]FieldsEnum.nameā is deprecated. Sorting on fields that need arguments to resolve is deprecatedā
Here is an example of the query
allDatoCms[Model](sort: { order: ASC, fields: name }) {
...
}
Does this mean that there is no longer any way to retrieve entities according to an alphabetical criterion, or is there a way around this that I canāt see?
Can I please ask what [Model] is in this instance? Is it a parameter youāre injecting dynamically? (Sorry, Iām not very familiar with Gatsby so itās not clear to me what that means, but will do my best to help troubleshoot this with you!)
Are you doing something different from that? Could you please share the entire query (or maybe the whole file/project, if thatās easier). You can email us at support@datocms.com if youād rather not share it publicly.
Thank you, and sorry for not being able to solve your issue right away, but weāll keep looking into it!
Also pinging @matjack1 and @m.finamor here to see if they have any thoughts. There are two outstanding Gatsby issues with similar parameterization, but it doesnāt look to me like thatās something we normally use in our Gatsby projects? Any ideas?