This repository was archived by the owner on Aug 21, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 3
This repository was archived by the owner on Aug 21, 2024. It is now read-only.
[EPIC] Upgrade to feathers 5.0.0 #7645
Copy link
Copy link
Description
https://github.com/feathersjs/feathers/releases/tag/v5.0.0
- Upgrade all packages to 5.0.0. Test current code base.
- Removed unused hooks
- Research how feathers does it's tests and present and implement it in the user service #7726
- Migrate from Express to Koa #7802 https://feathersjs.com/api/koa.html
- Use hooks and resolvers instead of direct database calls #8871
- Create migrations to ensure tables creation and ensure seeders work fine.
- Checklist of database based services:
- analytics
- authentication-setting
- avatar
- aws-setting
- bot Migrate bot service to feathers 5 #8573
- bot-command
- build-status
- channel Migrate channel service to feathers 5 #8665
- channel-user Migrate channel_user service to feathers 5 #8481
- chargebee-setting
- client-setting
- coil-setting
- email-setting
- github-repo-access Migrate github-repo-access service to feathers 5 #8286
- helm-setting
- identity-provider Migrate identity-provider service to feathers 5 #8423
- instance Migrate instance service to feathers 5 #8615
- instance-server-setting
- instance-attendance Migrate instance-attendance service to feathers 5 #8399
- instance-authorized-user Migrate instance-authorized-user service to feathers 5 #8400
- invite Migrate invite service to feathers 5 #8497
- invite-type Migrate invite-type service to feathers 5 #8421
- location Migrate location services to feathers 5 #8284
- location-settings Migrate location services to feathers 5 #8284
- location-type Migrate location services to feathers 5 #8284
- location-admin Migrate location-admin services to feathers 5 #8392
- location-authorized-user Migrate location-authorized-user services to feathers 5 #8386
- location-ban Migrate location-ban services to feathers 5 #8381
- login-token Migrate login-token services to feathers 5 #8452
- match-instance
- match-user
- message Migrate message service to feathers 5 #8572
- project Migrate project service to feathers 5 #8507
- project-permission-type Migrate project-permission-type service to feathers 5 #8363
- project-permission Migrate project-permission service to feathers 5 #8456
- recording Migrate recording services to feathers 5 #8424
- recording-resource Migrate recording_resource services to feathers 5 #8410
- redis-setting
- route
- scope Migrate scope service to feathers 5 #8480
- scope-type Migrate scope-type service to feathers 5 #8299
- server-setting
- static_resource Migrate static_resource service to feathers 5 #8457
- task-server-setting
- user Migrate user service to feathers 5 #8368
- user-api-key Migrate user-api-key service to feathers 5 #8338
- user-kick Migrate user-kick service to feathers 5 #8446
- user-relationship Migrate user-relationship service to feathers 5 #8447
- user-relationship-type Migrate user-relationship-type service to feathers 5 #8448
- user-setting Migrate user-settings service to feathers 5 #8449
- Checklist of non-database based services:
- accept-invite Migrate accept-invite service to feathers 5 #8663
- asset-library Migrate asset-library service to feathers 5 #8680
- auth-management Migrate auth-management service to feathers 5 #8683
- email Migrate email service to feathers 5 #8684
- file-browser Migrate file-browser service to feathers 5 #8737
- instance-provision Migrate instance-provision to feathers5 #8765
- login Migrate login service to feathers 5 #8701
- magic-link Migrate magic-link service to feathers 5 #8724
- model-transform Migrate model-transform service to feathers 5 #8729
- project-setting Migrate project-setting service to feathers 5 #8742
- scene Migrate scene service to feathers 5 #8743
- server-info Migrate server-info service to feathers 5 #8739
- server-logs Migrate server-logs service to feathers 5 #8740
- shopify-cart Migrate shopify-cart service to feathers 5 #8744
- sms Migrate sms service to feathers 5 #8747
- verification-event Migrate verification-event to feathers5 #8749
- dev-reinit should also clear data from tables that do not have seed files.
Issues Found in Feathers Typing:
- When querying
find
from client, if we pass pagination as false then it returns data in array. But if we pass pagination as undefined, then data is always retured as Paginated object though return typings show it to be either Paginated object or Array. Therefore, we have to explicitly parse the result to Paginated object. - When querying
find
from client, if we pass pagination as false then it returns data in array. We have to first convert that response to any and then to Array. - In
authentication-setting
service when we overridepatch
method we have to convert object to strings before passing tosuper._patch
method. Though as per typings,super._patch
method expects them to be object.