It is a problem that we're aware of, it will be fixed for the 1.0 release. Thanks for pointing it out though.
On Wed, Aug 5, 2009 at 12:53 PM, Jon Kruger <[email protected]> wrote: > If you call ClassMap.GetClassMapping(), it adds a bunch of stuff to the > "mapping" instance variable and returns the variable. Since all of this > stuff is stored on the instance variable now, if I call > ClassMap.GetClassMapping() again, it adds everything again and now there are > duplicate items in the list. > > I don't know if this is causing problems or not, but it seems like a > command-query separation problem. I had a unit test for my conventions that > would check stuff in the ClassMapping, which was failing because of the > duplicates. > > Jon > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Fluent NHibernate" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/fluent-nhibernate?hl=en -~----------~----~----~----~------~----~------~--~---
