On Wed, Oct 23, 2013 at 8:44 PM, Tyler Romeo <[email protected]> wrote:
> On Wed, Oct 23, 2013 at 10:54 PM, Chad <[email protected]> wrote: > > > I've personally not been convinced of this Value/Parser/Formatter pattern > > but if I'm the only one I'll just keep my big mouth shut > > > > I agree with this as well. The idea behind this RFC is the "hair can't cut > itself" pattern. I wish my hair could cut itself ;-) > However, a value object needs to be easily serializable. > So what representation is used for serializing a TitleValue? It can't be > the display title or DB key since that's part of the TitleFormatter class. > > I would assume something like the prefixed text form. As long as the TitleValue knows its namespace and title you can guess the rest. -Chad _______________________________________________ Wikitech-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikitech-l
