Laraue.EfCoreTriggers icon indicating copy to clipboard operation
Laraue.EfCoreTriggers copied to clipboard

Refactor MigrationsModelDiffer to allow third-party changes

Open stanislav-a-frolov opened this issue 2 years ago • 0 comments

Hello, everyone.

We're using EfCoreTriggers together with our own modified MigrationsModelDiffer. Right now we have to subclass EfCoreTriggers MigrationsModelDiffer since migration code is fully inside GetDifferences. If migrations were implemented via some kind of mixin class that would use ITriggerVisitor to generate and merge migrations operations so it could be chained with another migration modifications.

Made a PR: https://github.com/win7user10/Laraue.EfCoreTriggers/pull/76

stanislav-a-frolov avatar Feb 03 '23 01:02 stanislav-a-frolov