cycle / annotated

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

Deprecate `though`, add `through` annotation stubs #20

Closed rauanmayemir closed 3 years ago

rauanmayemir commented 3 years ago

I had to drop required constraint on though, otherwise I couldn't find a way to make this a smooth transition. Upon removal of though after one cycle (pun intended), we can switch the required constraint back on for through.

Closes #10.

Cc: @roxblnfk

codecov[bot] commented 3 years ago

Codecov Report

Merging #20 (c6d506e) into master (6fa9f1d) will increase coverage by 0.23%. The diff coverage is 100.00%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master      #20      +/-   ##
============================================
+ Coverage     89.87%   90.11%   +0.23%     
- Complexity      201      216      +15     
============================================
  Files            15       16       +1     
  Lines           415      445      +30     
============================================
+ Hits            373      401      +28     
- Misses           42       44       +2     
Impacted Files Coverage Δ
src/Configurator.php 84.68% <100.00%> (ø)
src/Entities.php 94.62% <100.00%> (+0.95%) :arrow_up:
src/MergeIndexes.php 87.93% <0.00%> (-1.66%) :arrow_down:
src/Annotation/Table.php 100.00% <0.00%> (ø)
src/Annotation/Table/Index.php 100.00% <0.00%> (ø)
src/Annotation/Table/PrimaryKey.php 100.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 6fa9f1d...c6d506e. Read the comment docs.