Suggestion : Could you add a way to check hints in Upgrader class? I would rather get an exception in my Upgrader class than later in Domain build. It's just to ease debug : not urgent. |
Suggestion : Could you add a way to check hints in Upgrader class? I would rather get an exception in my Upgrader class than later in Domain build. It's just to ease debug : not urgent. |
Once you sign in you will be able to subscribe for any updates here
Tags:
Asked: Feb 25 '11 at 10:39
Seen: 2,916 times
Last updated: Feb 28 '11 at 06:55
Could you please specify what kind of checks are implied and how do you see the way to provide such a functionality (validate hints not during Domain build)?
Example of checks : For a property rename (or remove) hint, type and property must exists in model before migration, For a type rename or remove hint, type must exists before migration, ...
If I'm correct when UpgradeHandler.AddUpgradeHints is called, we already know the model extracted from database, so it should be possible.
I think, I understand the direction of your ideas. I'll investigate the subject soon and inform you about the results.