Skip to content

Pre-computed array with unique: true fields#34

Merged
paulocoghi merged 2 commits into
masterfrom
feat/recursive-unique-fields-walk-on-schema
Jul 11, 2026
Merged

Pre-computed array with unique: true fields#34
paulocoghi merged 2 commits into
masterfrom
feat/recursive-unique-fields-walk-on-schema

Conversation

@paulocoghi

Copy link
Copy Markdown
Member

perf: Alumna::Schema recursively parses unique: true fields and caches it on boot on a pre-computed array, speeding up database adapters

…aches it on boot on a pre-computed array, speeding up database adapters
@codecov

codecov Bot commented Jul 11, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (d5121fc) to head (e947749).

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff            @@
##            master       #34   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           35        35           
  Lines         1213      1226   +13     
  Branches         4         4           
=========================================
+ Hits          1213      1226   +13     
Flag Coverage Δ
unittests 100.00% <100.00%> (ø)

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

Files with missing lines Coverage Δ
src/adapter/memory.cr 100.00% <100.00%> (ø)
src/schema/base.cr 100.00% <100.00%> (ø)

@paulocoghi
paulocoghi merged commit 17bb1a4 into master Jul 11, 2026
6 checks passed
@paulocoghi
paulocoghi deleted the feat/recursive-unique-fields-walk-on-schema branch July 11, 2026 19:04
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.

1 participant