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
BaseResource methods serialize and serialize_related have this argument "many" with the default value of False, making it possible to break the JSON:API specification (e.g. if you serialize one object as collection) without any apparent benefit.
Perhaps those functions could contain logic to determine whether data passed to them is iterable, treating strings and such as single objects of course.