JakeGinnivan/WebApi.Hal — pull request #1 by ciaranj (2012-07-23 07:33:08+00:00)
Title: Add a bulk constructor to the ResourceLinker

Hi, I'm currently experimenting with options for HATEOAS components for my RESTful API ;) , so have been taking a looksy at your implementation of JSON+Hal.

I use Spring as my IoC container and struggled to configure your 'ResourceLinker' class effectively in my environment.

To combat this I added a fairly brutal new constructor to the class to allow all the resource linkers to be specified up front, in theory that might be useful to others too :)

Example config looks like this :

Hope it helps.