-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Introduce expressed fields #7692
Comments
@FelixMalfait fyi |
Not 100% convinced by this feature from a product point of view at this stage. I think we need to build and agree on our global Compute fields strategy first to avoid introducing 3 different field types for formulas/compute fields. |
@Bonapara @FelixMalfait is this on hold for now? i thought so from @Bonapara s input |
@ijreilly yes I just wanted you to log it but not prioritize it, thanks! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We would like to offer the user the possibility to create field expressed as a function of other fields belonging to the same object (excluding relations).
For example, object Company has fields numberOfEmployees (type number) and salariesExpense (type number), we could introduce a field averageSalary that would be: salariesExpense / numberOfEmployees.
This field would be of type generated and built leveraging typeORM's
asExpression
as we did for the search.In a first version
The text was updated successfully, but these errors were encountered: