Skip to content

Conversation

@JoaoPedroAS51
Copy link
Collaborator

No description provided.

Test is required in order to generate coverage report.
Add dependencies `dotprop` and `dset` in order to remove `utils.js`.
Add nested filters support to `where` and `whereIn`.
Add a new method `config` to `Model.js`. It can be used to override the http instance (e.g. axios) configuration at query builder.
It can be used to change the method of update request to `PATCH`, to add additional data to the request, to add headers, and so on.
Add support to upload files by checking if data has instance of `File`. If so, it set the `Content-Type` to `multipart/form-data` and convert the data object to `FormData` using `object-to-formdata`.

Based on comment by @alvaro-canepa at #83
Accept array of strings for `include`, `append` and `orderBy`.
`with` is alias for `include`, `all` is alias for `get` and `$all` is alias for `$get`.
@JoaoPedroAS51 JoaoPedroAS51 merged commit f3d4cbf into master Nov 10, 2020
@github-actions
Copy link

🎉 This PR is included in version 1.8.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants