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

Support query functions in OsoClass decorator #277

Open
bartosjiri opened this issue Sep 29, 2021 · 1 comment
Open

Support query functions in OsoClass decorator #277

bartosjiri opened this issue Sep 29, 2021 · 1 comment
Labels
good first issue Good for newcomers

Comments

@bartosjiri
Copy link
Contributor

bartosjiri commented Sep 29, 2021

The Oso's data filtering feature has options to include query functions either globally through oso.setDataFilteringQueryDefaults or specifically for individual types through oso.registerClass.

Would it be possible to add support for the latter option in the library's OsoClass decorator, please?
Unfortunately I am not knowledgeable enough to provider PR in this case.

@simenandre
Copy link
Member

Thanks for posting this!

I'd love that feature. If someone is interested, PRs are much appreciated!

@simenandre simenandre added the good first issue Good for newcomers label Feb 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants