cycle / annotated

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

feat: column type by ReflectionProperty #51

Open aquaminer opened 2 years ago

codecov[bot] commented 2 years ago

Codecov Report

Merging #51 (f630c7f) into 3.x (6826b61) will decrease coverage by 2.58%. The diff coverage is 100.00%.

@@             Coverage Diff              @@
##                3.x      #51      +/-   ##
============================================
- Coverage     90.95%   88.36%   -2.59%     
- Complexity      252      262      +10     
============================================
  Files            32       32              
  Lines           619      636      +17     
============================================
- Hits            563      562       -1     
- Misses           56       74      +18     
Impacted Files Coverage Δ
src/Annotation/Column.php 100.00% <100.00%> (ø)
src/Configurator.php 85.81% <100.00%> (+0.84%) :arrow_up:
...Exception/AnnotationRequiredArgumentsException.php 0.00% <0.00%> (-100.00%) :arrow_down:
src/Entities.php 96.82% <0.00%> (-0.15%) :arrow_down:
src/TableInheritance.php 93.80% <0.00%> (-0.11%) :arrow_down:
src/Annotation/Table/PrimaryKey.php 100.00% <0.00%> (ø)
...Exception/AnnotationWrongTypeArgumentException.php 0.00% <0.00%> (ø)

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 6826b61...f630c7f. Read the comment docs.

peldax commented 1 month ago

Hi, This is great addition.

It would be nice if this functionality supported the BelongsTo/RefersTo relations as well.