Skip to content

Conversation

@suddendust
Copy link
Contributor

@suddendust suddendust commented Dec 12, 2025

Description

This PR introduces a database-agnostic type system that can be used to provide compile time type metadata to query parsers, which can use this info to generate type-aware optimisations.

Testing

[x] Added UTs
[x] Tested this in a live env

Checklist:

  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • Any dependent changes have been merged and published in downstream modules

@suddendust suddendust changed the title Introduce Flat Collection Types [Draft] Introduce Flat Collection Types Dec 12, 2025
@codecov
Copy link

codecov bot commented Dec 12, 2025

Codecov Report

❌ Patch coverage is 97.33333% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 80.53%. Comparing base (4516200) to head (3083cc1).

Files with missing lines Patch % Lines
...e/expression/impl/AliasedIdentifierExpression.java 50.00% 0 Missing and 1 partial ⚠️
...entstore/expression/impl/IdentifierExpression.java 94.44% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##               main     #259      +/-   ##
============================================
+ Coverage     80.48%   80.53%   +0.05%     
- Complexity     1297     1342      +45     
============================================
  Files           230      230              
  Lines          5948     6005      +57     
  Branches        536      537       +1     
============================================
+ Hits           4787     4836      +49     
- Misses          797      803       +6     
- Partials        364      366       +2     
Flag Coverage Δ
integration 80.53% <97.33%> (+0.05%) ⬆️
unit 58.45% <97.33%> (+0.48%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@suddendust suddendust changed the title [Draft] Introduce Flat Collection Types Introduce Flat Collection Types Dec 12, 2025
@puneet-traceable
Copy link

LGTM

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