These are chat archives for DarthFubuMVC/fubumvc

14th
Jul 2015
Jeremy D. Miller
@jeremydmiller
Jul 14 2015 10:53
Alright, I’ll know if anybody is watching this room because it’s impossible not to have an opinion about what I’m going to say next;) —>
How awful do y’all think it would be if FubuMVC.Core took a public dependency on Newtonsoft.Json? I’m going to have to take the dependency to pull Bottles & FubuMVC.Json into FubuMVC.Core anyway, but my thinking is that users could start to take advantage of Newtonsoft customizations if the dependency is public. The other option is to ilrepack the dependency into FubuMVC.Core. This does not have to be decided today by any means.
Jeremy D. Miller
@jeremydmiller
Jul 14 2015 12:49
btw, FubuMVC 3.0 work started this morning: https://github.com/DarthFubuMVC/fubumvc/tree/three
Nothing but cleaning out old, to be discontinued features so far. If the day goes well, I might have Bottles effectively removed as a dependency in FubuMVC.Core.
Andres Hernandez
@andhernand
Jul 14 2015 13:35
I'm cool with adding it as a public dependency.
Jeremy D. Miller
@jeremydmiller
Jul 14 2015 13:41
@andhernand One of the things that came out of the work on your project and doing that is that I’m gonna recommend we cease all usage of Projections in favor if custom DTO’s, database projections, or JSON.Net serialization customizations
Andres Hernandez
@andhernand
Jul 14 2015 13:43
@jeremydmiller I've never been a huge fan of how we used Projections. Json.Net serialization customization would be a huge step in the right direction.
The way we used Projections added unnecessary ceremony.
Jeremy D. Miller
@jeremydmiller
Jul 14 2015 13:50
@andhernand I built it originally to go from ADO data readers to json w/o bouncing through a DTO. And yeah, it looks ugly in usage.