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

Feature request: Flexible DataSource #957

Open
cloakedch opened this issue Feb 13, 2019 · 0 comments
Open

Feature request: Flexible DataSource #957

cloakedch opened this issue Feb 13, 2019 · 0 comments

Comments

@cloakedch
Copy link

cloakedch commented Feb 13, 2019

It would be great if one could use the DataSource in a flexible way.

Let's assume that I would like to update / edit a row and send the updates to a server. I would PUT the changes to the server and use the response data to be the actual change in the local data source.
Now, this can already be achieved with the existing createConfirm, editConfirm and deleteConfirm EventEmitters, but this is the wrong place, as these methods have to be placed in the Component and not in a separate Data Adapter (Separation of Concerns).
It would be better if one could extend a flexible DataSource and then use custom logic to do the server magic.

@cloakedch cloakedch changed the title Feature request: Pre-commit hook in DataSource Feature request: Flexible DataSource and Pre-commit hook Feb 13, 2019
@cloakedch cloakedch changed the title Feature request: Flexible DataSource and Pre-commit hook Feature request: Flexible DataSource Feb 13, 2019
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

1 participant