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.

asked Feb 25 '11 at 10:39

olorin's gravatar image

olorin
356838489

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)?

(Feb 25 '11 at 11:22) Dmitri Maximov Dmitri%20Maximov's gravatar image

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.

(Feb 28 '11 at 02:56) olorin olorin's gravatar image

I think, I understand the direction of your ideas. I'll investigate the subject soon and inform you about the results.

(Feb 28 '11 at 06:55) Dmitri Maximov Dmitri%20Maximov's gravatar image
Be the first one to answer this question!
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!
toggle preview

powered by OSQA