-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Getting Ready for Feathers v5 Dove #171
Comments
Is this plugin still planned to be made fully compatible with Feathers v5 dove (and integrated back into feathers cli as an option when generating services)? |
@ramsestom It might already work with Feather v5. I'm not aware of any breaking-changes and it seems that the list from @marshallswain is mostly about TypeScript and tests. I'm not using FeathersJS in my current projects, but any PRs are welcome. |
While upgrading dependencies, I've tried running the tests with Feathers v5 and it didn't work. Looks like the |
@dekelev I think that it got moved to |
Thanks @marshallswain , I tried that now and got this error on invalid service object that was trying to initialize for the tests. Any idea why it's failing? |
I had to remove the underscore from the service method names. It works now, but some tests are failing on code related to the FeathersError class. This import is not defined anymore:
It works when importing each class in separate. |
Any idea where's the |
Try importing it from |
I think it's now import * as errors from '@feathersjs/errors' if you want them all. |
Got it, thanks |
@dekelev, Two solutions replaced it. If you're using @feathersjs/schema or @feathersjs/typebox, the query validators replace the need for whitelist. If you're not using the new validators, you can find the replacement for the whitelist here: https://feathersjs.com/guides/migrating.html#custom-filters-operators |
Thanks! I'll check it out |
@dekelev Can you push your branch? I’ll see if I can help 🙂 |
Sure, I'll push it soon. It's still a mess and I haven't got time to work on it since last week. |
I pushed the feathers-dove branch. |
@dekelev Any chance that you will be able to finish the feathers v5 upgrade anytime soon? :) |
The following changes are needed to fully prepare
feathers-objection
for Feathers v5 Dove:@feathersjs/adapter-tests
suite. (includingparams.adapter
)test-local
environment for testing against local Postgres DB.ci
environment for Github Actions.The text was updated successfully, but these errors were encountered: