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

[discussion] Improvements to data filtering #7690

Closed
olicooper opened this issue Feb 10, 2021 · 1 comment
Closed

[discussion] Improvements to data filtering #7690

olicooper opened this issue Feb 10, 2021 · 1 comment
Labels

Comments

@olicooper
Copy link
Contributor

I have spent a week working on a proof-of-concept demo to see if we could intercept database queries to apply ABP concepts to them before they are executed. I'd like to open this up to a discussion about how useful this is for people and how this could be used in ABP to make it more flexible. This need for flexibility has been mentioned before. It could be provided as part of the core ABP implementation or possibly included as a plugin (I have not investigated this yet).

My demo intercepts queries to apply IDataFilters without relying on Entity Framework's Global Query Filters which offers limited/restricted functionality. There are bugs and the code isn't clean because its a prototype so you'll probably be able to break it - I don't mind :)

My motivation for this is due to a few issues I have seen recently:

The wider community also wants the filters to be more flexible too:

I have written an extensive readme to explain the project if you need more info.

Here is the demo: https://github.com/olicooper/abp-queryfilter-test

@olicooper olicooper changed the title Improvements to data filtering [discussion] Improvements to data filtering Feb 10, 2021
@stale
Copy link

stale bot commented Apr 11, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the inactive label Apr 11, 2021
@stale stale bot closed this as completed Apr 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant