Skip to content
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

createMany unsupported #174

Closed
strarsis opened this issue Mar 11, 2022 · 2 comments
Closed

createMany unsupported #174

strarsis opened this issue Mar 11, 2022 · 2 comments

Comments

@strarsis
Copy link

The createMany method is unsupported:
FeathersJS restClient action type createMany

It is very useful for some bulk operations, like a CSV import from react-admin.

@josx
Copy link
Owner

josx commented Mar 14, 2022

I dont see createMany in the reactadmin doc as available, where did you see it?
I have check it here https://marmelab.com/react-admin/DataProviders.html

@strarsis
Copy link
Author

strarsis commented Mar 14, 2022

Maybe this is just a special action introduced by react-admin-import-csv?
https://github.com/benwinding/react-admin-import-csv/tree/9b7b840f76270fe7c444710881ed781a8d83c830#reducing-requests-createmany-and-updatemany

In that case the action has to be added by decorator. I initially had issues adding it - but found out that ra-data-feathers uses a function which has to be wrapped for decoration: #176

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants