Feather-sequelize includes metadata in the response object, which is helpful for pagination, and I think it'd a good addition to this adapter. With this pull request, the metadata is automatically included, but an config flag could be used to toggle the feature, if that's desired.
Note this is a breaking change. The return type is an object instead of an array and the former response is returned in the object’s data property.
Feather-sequelize includes metadata in the response object, which is helpful for pagination, and I think it'd a good addition to this adapter. With this pull request, the metadata is automatically included, but an config flag could be used to toggle the feature, if that's desired.
Note this is a breaking change. The return type is an object instead of an array and the former response is returned in the object’s data property.