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

feat(visibilities): make visibilities suppressable on n:1 relationships #2303

Merged
merged 1 commit into from
Oct 14, 2024

Conversation

czosel
Copy link
Contributor

@czosel czosel commented Oct 4, 2024

Visibilities may incur a heavy tax on DB load, but are not always needed.

This will allow you to define, in your visibility classes, a list of lookups
that won't use the visibility layer, and thus improve performance.

@winged winged force-pushed the performance-fix branch 4 times, most recently from 9b1ebdd to 709ff0e Compare October 14, 2024 10:06
caluma/caluma_form/schema.py Outdated Show resolved Hide resolved
@czosel czosel changed the title fix: performance (Draft) feat(visibilities): make visibilities suppressable on n:1 relationships Oct 14, 2024
@czosel
Copy link
Contributor Author

czosel commented Oct 14, 2024

Otherwise LGTM 👍

Visibilities may incur a heavy tax on DB load, but are not always needed.

This will allow you to define, in your visibility classes, a list of lookups
that won't use the visibility layer, and thus improve performance.

Co-Authored-By: David Vogt <[email protected]>
@czosel czosel merged commit 0899cc7 into main Oct 14, 2024
24 checks passed
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

Successfully merging this pull request may close these issues.

2 participants