-
Notifications
You must be signed in to change notification settings - Fork 36
Open
Description
Version 2 Checklist
Documentation
- Rewrite version 2 docs to reflect updates
- Rewrite version 2 docs in nuxt (and maybe markdown)
- Add guide for writing tests
Fixes
- allow data with DELETE
- Fix polluted params issue when where params send twice
Enhancements
-
apirenamed tohttp - rename
apiConfigtohttpConfig - swap
qsforqs-stringifysince we only use that method https://www.npmjs.com/package/qs-stringify - Allow for other promise-based http services to be used in place of axios with injection
- Fix nasty inheritance chain
- Add
.defaulthelper to go withmodel/collection - Remove spread from request methods (it's not really useful)
- Allow data to be passed into request like
photo.get('/tags', { order: orders.ASC }) - Add TypeScript Support while maintaining
.jsfiles - Properly declare and import type definitions Properly declare and import type definitions #41
- Rewrite Auth to be a mixin and extract to package -- rewrite tests for it
- Use
deepmergeinstead of lodash - Rename
withDatatowithConfig - Remove Custom Routes
- Remove interceptors
- Remove
qs-stringifywith old debugger - Remove
axiosentirely - Remove
httpConfigfrom config - Remove
debugfrom config - Add mixins array to allow for creating new methods (auth / base)
Build
- Add build tool to minify or gzip files on dist
- Remove
prepublishhook and replace with: Usepreparefor build steps andprepublishOnlyfor upload-only.
Tests
- Extract debugger to allow easier testing
- Write new debugging library (mockid)
- Rewrite tests for CRUD
- Rewrite tests for custom-route
- Rewrite tests for extensions
- Rewrite tests for id
- Rewrite tests for request
- Rewrite tests for request-hooks
- Rewrite tests for routes
- Rewrite tests for with
- Write tests for
model,collection,default
I can add a contributing guide for this. But for now:
- Please run
npm run unit:watchwhile working on new features and fixes. Do you best to make small changes while always keeping the tests green. - Only submit small pull requests that are specific to the task. (Horizontal refactoring). If you see something else unrelated that needs fixing, make a ticket or write down a note to address it later
For now we can use issues or projects. @mgred I have not used projects for this but we can look into it!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels