cycle / annotated

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

Fixes problem with JTI and STI #39

Closed butschster closed 2 years ago

butschster commented 2 years ago

STI annotation wrong detected parent entity

butschster commented 2 years ago

To fix tests we need solve problem with SqlServer and JTI https://appuals.com/how-to-fix-the-error-cannot-insert-explicit-value-for-identity-column-in-table-when-identity_insert-is-set-to-off/

codecov[bot] commented 2 years ago

Codecov Report

Merging #39 (4dd2949) into 2.0 (bdf7662) will increase coverage by 0.00%. The diff coverage is 93.10%.

Impacted file tree graph

@@            Coverage Diff            @@
##                2.0      #39   +/-   ##
=========================================
  Coverage     90.39%   90.40%           
- Complexity      229      234    +5     
=========================================
  Files            32       32           
  Lines           552      573   +21     
=========================================
+ Hits            499      518   +19     
- Misses           53       55    +2     
Impacted Files Coverage Δ
src/TableInheritance.php 92.40% <85.71%> (-1.63%) :arrow_down:
src/Configurator.php 84.37% <100.00%> (+0.50%) :arrow_up:
src/Entities.php 96.96% <100.00%> (-0.37%) :arrow_down:
src/Utils/EntityUtils.php 86.36% <100.00%> (+5.11%) :arrow_up:
src/Annotation/Relation/Relation.php 89.47% <0.00%> (+7.65%) :arrow_up:

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 bdf7662...4dd2949. Read the comment docs.