You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I’m raising this as I’m not sure if this should be treated as a regression since the module was capable of handling the array convention or if the expectation is that users should simply stick to using the new string convention instead? Or should the module be backwards compatible in that it can handle both conventions?
Acceptance criteria
Default sort define as array should still work when using Gridfiled extensions.
When a
DataObject
defines thedefault_sort
property using the following convention:Then this throws an
Array to string conversion
error as updates from Feb 22’ now expects this property to be of typestring
rather than of typearray
.The simple solution is to use the
string
convention instead:I’m raising this as I’m not sure if this should be treated as a regression since the module was capable of handling the
array
convention or if the expectation is that users should simply stick to using the newstring
convention instead? Or should the module be backwards compatible in that it can handle both conventions?Acceptance criteria
Original PRs
PRs
The text was updated successfully, but these errors were encountered: