We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug When formula is being defined by Property() decorator and is assigned lazy: true flag, the field gets always populated.
Property()
lazy: true
To Reproduce Steps to reproduce the behavior:
tests/entities-sql/Book2.ts
@Property({ formula: alias => `${alias}.price * 1.19`, lazy: true, }) lazyPriceTaxed?: number;
Expected behavior Expected the field to be populated only when instructed so.
Versions
The text was updated successfully, but these errors were encountered:
4b2b5ce
This ended up as quite hard to fix, lol :] Also fixed another issue with lazy properties and joined loading on the way.
Once built, you can try this via 4.3.5-dev.49.
4.3.5-dev.49
Sorry, something went wrong.
B4nan
No branches or pull requests
Describe the bug
When formula is being defined by
Property()
decorator and is assignedlazy: true
flag, the field gets always populated.To Reproduce
Steps to reproduce the behavior:
tests/entities-sql/Book2.ts
Expected behavior
Expected the field to be populated only when instructed so.
Versions
The text was updated successfully, but these errors were encountered: