Jumoo / uSyncMigrations

Rough and ready migration code.
Mozilla Public License 2.0
44 stars 57 forks source link

chore: adjusted code by ryan-woodruff to use context of migration ins… #229

Closed bielu closed 10 months ago

bielu commented 11 months ago

Hello @KevinJump, Had some spare time on my hands, so adjusted code started by @ryan-woodruff, to use context + be compatible with latest changes in core. https://github.com/Jumoo/uSyncMigrations/pull/217 Sadly I dont have any grid based site with layouts to properly test it :/, Changes are basically same as in 217, but with removal of umbraco services and usage of context instead :)

ryan-woodruff commented 11 months ago

Hi ! - Thanks for picking this up, I meant to pick it up but didn't find time.

I can take a look at testing it at some point next week :)

ryan-woodruff commented 10 months ago

I have also noticed that there are some changes missing from the original PR in uSync.Migrations/Migrators/BlockGrid/Config/GridToBlockGridConfigLayoutBlockHelper.cs which are vital to assigning the settings models to the grids

bielu commented 10 months ago

Replaced by https://github.com/Jumoo/uSyncMigrations/pull/232