Indeed an interesting question. It’s actually a discussion we had with Christos about what
is valid or not. As Mattt stated it in its tweet, this could be configurable and
defaulted. In Alamofire there is this notion of pluggable closure for validation:
On 16 Jan 2015, at 21:50, Matthias Wessendorf
<matzew(a)apache.org> wrote:
Hi,
looking at
https://twitter.com/mjackson/status/556152800883662848
And yes, this is not specific to iOS, it is IMO a more general thought, but I really
think, the author makes a good point with "should be a user concern, not the
lib"
Deeper in the thread the author of the AFNetworking library has an interesting
suggestion, for a lib:
https://twitter.com/mattt/status/556181001836449793
I found this debate interesting and felt like sharing :-)
--
Matthias Wessendorf
blog:
http://matthiaswessendorf.wordpress.com/
sessions:
http://www.slideshare.net/mwessendorf
twitter:
http://twitter.com/mwessendorf
_______________________________________________
aerogear-dev mailing list
aerogear-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/aerogear-dev