cycle / annotated

Schema generation using annotated entities and mappers
MIT License
23 stars 12 forks source link

Rename constrain to scope; add composite keys supporting #26

Closed roxblnfk closed 2 years ago

roxblnfk commented 2 years ago

Add option fkOnDelete for relations; Add Psalm; Add some PHP 8 types; Rename constrain to scope (https://github.com/cycle/orm/issues/65); Add supporting for composite keys in relations (https://github.com/cycle/schema-builder/pull/30, https://github.com/cycle/orm/issues/161)

codecov[bot] commented 2 years ago

Codecov Report

Merging #26 (1aaeb03) into 2.0 (ca234fc) will increase coverage by 0.16%. The diff coverage is 95.12%.

Impacted file tree graph

@@             Coverage Diff              @@
##                2.0      #26      +/-   ##
============================================
+ Coverage     90.72%   90.88%   +0.16%     
+ Complexity      192      184       -8     
============================================
  Files            16       16              
  Lines           442      428      -14     
============================================
- Hits            401      389      -12     
+ Misses           41       39       -2     
Impacted Files Coverage Δ
src/Annotation/Embeddable.php 81.81% <ø> (ø)
src/Annotation/Table.php 100.00% <ø> (ø)
src/Annotation/Table/Index.php 100.00% <ø> (ø)
src/Annotation/Table/PrimaryKey.php 100.00% <ø> (ø)
src/MergeColumns.php 87.09% <75.00%> (ø)
src/Entities.php 94.25% <93.33%> (-0.26%) :arrow_down:
src/Annotation/Column.php 100.00% <100.00%> (ø)
src/Annotation/Entity.php 100.00% <100.00%> (ø)
src/Annotation/Relation/Relation.php 92.30% <100.00%> (ø)
src/Configurator.php 86.48% <100.00%> (+1.80%) :arrow_up:
... and 4 more

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update ca234fc...1aaeb03. Read the comment docs.