Commit Graph

3 Commits (29bd679361cd27dc6a7f503a248844643a2428f8)

Author SHA1 Message Date
Alex Dik 27d4a381e6 Move HalResource class definitions to module scope (#4400) 9 years ago
Alex Dik e3139d2150 Add default value for HalLink.$source on instantiation 9 years ago
Alex Dik fcfd320a81 Make HalResource.fromLink public 9 years ago
Alex Dik 32d229bdab Fix karma tests 9 years ago
Alex Dik dcb03325aa Rename hal sub folder to hal-resources 9 years ago
Alex Dik ad364ce042 Make proxied properties enumerable 9 years ago
Alex Dik 182d4da0c6 Make the embedded properties lazy 9 years ago
Alex Dik cad8061abe Make the links lazy 9 years ago
Alex Dik 80dbbe4577 Make property links lazy 9 years ago
Alex Dik 9ed1a93101 Implement test for the href property 9 years ago
Alex Dik 2ebf02dd42 Proxy the properties of the object to the source 9 years ago
Alex Dik 516b3c43af Return empty object if the resource's source does not provide _links or _embedded 9 years ago
Alex Dik bd43debd7e Make properties of $links and $embedded non-settable 9 years ago
Alex Dik 9949636245 Add tests for the _plain property of resources 9 years ago
Alex Dik c8b5a3f220 Add apiV3 service tests 9 years ago
Oliver Günther e001a033de Fix all karma tests exepect group sums 9 years ago
Alex Dik 1df7fe6661 Make arrays of linked resources work 9 years ago
Alex Dik aa6d021652 Remove angular.copy from HalResource tests 9 years ago
Alex Dik 7ca3fc0b94 Refactor hal tests 9 years ago
Alex Dik 24b8c56a2c Rename $halTransformed to $isHal 9 years ago
Alex Dik ede7f165bf Provide a name attribute that uses the self link's title 9 years ago
Alex Dik cdc1d335ce Make linked and embedded resources accessible via properties 9 years ago
Alex Dik c7ad9b340f Make links of the resource callable again 9 years ago
Alex Dik 0ef828258c Remove redundant test 9 years ago
Alex Dik a5a7f8f0ea Implement HalLink service 9 years ago
Alex Dik a5bc2668ca Transform properties of embedded resources 9 years ago
Jens Ulferts 3ad87f09ce introduce collectionResource 9 years ago
Alex Dik ddcd193e15 Fix properties for nested embedded resources 9 years ago
Alex Dik 1581187919 Change implementation of HAL resources 9 years ago
Alex Dik 97ccf52839 Move apiV3 config into run block 9 years ago
Alex Dik 42ae4a17cb Move hal transform service 9 years ago
Alex Dik 87689263bd Change the transformation service to a factory 9 years ago
Alex Dik 4a71f42447 Implement $plain method 9 years ago
Alex Dik 3d29f62d22 Add test for non-transformed objects 9 years ago
Alex Dik ac612336ba Prepend special properties with a $ 9 years ago
Alex Dik 2aab0374e3 Refactor transformation 9 years ago
Alex Dik 6b43c66976 Automatically set linked properties on object transformation 9 years ago
Alex Dik 56bfd812cc Add test for null href return value of hal links 9 years ago
Alex Dik 707a9f17d2 Test current behaviour of the HAL transformation 9 years ago