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

[Improvement] Re-think how inherited fields data is created #670

Open
lukmzig opened this issue Jan 10, 2025 · 1 comment
Open

[Improvement] Re-think how inherited fields data is created #670

lukmzig opened this issue Jan 10, 2025 · 1 comment

Comments

@lukmzig
Copy link
Contributor

lukmzig commented Jan 10, 2025

Currently the inherited fields data (is field inherited and inheritance origin) are calculated on the GET data request.
In order to possibly improve performance we could re-think this approach

Suggestion

Create a table and store data on save of the data object (maybe consider using GEE if possible) - object ID, field key, isInherited, originId
When getting data for the data object, query data forms table instead

@lukmzig lukmzig changed the title [Improvement] Re-think how inherited fields data is used [Improvement] Re-think how inherited fields data is created Jan 10, 2025
@fashxp
Copy link
Member

fashxp commented Jan 10, 2025

just not to forget then: if some parent changes, all the children data has to be updated too.

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

No branches or pull requests

2 participants