On Sep 22, 12:53 pm, postmodern <[email protected]> wrote: > On 09/22/2010 03:48 AM, Piotr Solnica wrote: > > > > > On Sep 22, 12:14 pm, postmodern <[email protected]> wrote: > >> I was writting some custom DataMapper Property classes for mapping > >> legacy/corrupted data from a backend Database, and thought it would be > >> nice if we had a dm-types-legacy library. This library would be a common > >> library users could contribute their helpful DataMapper Property classes > >> used for legacy Databases. I would like to host this library under the > >> datamapper organization on github. > > Yes I can see this could be very helpful although I'm a bit reluctant > > to add a new official plugin right now. Property API is waiting for > > another breaking change so it would be better to have this repo > > somewhere else in the beginning. Once we do the final change to > > Property API and adapters and have dm-types *really* solid we could > > think about adding dm-types-legacy as an official DataMapper plugin. > > Please remember that every official plugin slows down the release > > process which we really want to avoid and in this case we're dealing > > with something that *some* people need, not everyone. At least that's > > my point of view :) > > Alright, I will create dm-types-legacy under my account.
Awesome! I'm gonna be the first watcher :) > Also, I thought we could eventually kick the Enum/Flags types out of dm-types > and into > dm-types-legacy. That's a tough one. Dan always advocates people to use String with :set option instead of the properties you mention. Personally I tend to agree as right now there's no big value in using them and I actually don't consider them as stable :/ Fortunately there is a plan to make things better (talking again about final Property/adapter API changes) and having that done Enum could be better supported so that various adapters could use native Enum fields for this property. The question is do we really need that? I've heard various opinions about Enum fields so I'm not sure if it's worth the effort. # solnic -- You received this message because you are subscribed to the Google Groups "DataMapper" 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/datamapper?hl=en.
