This repository has been archived by the owner on Oct 2, 2024. It is now read-only.
Important: BC break in @hyral/vue:
The getters for resource and collection do not always return a resource or collection. If they were not previously set the getters will return null. This was required to fix a number of outstanding bugs and get proper reactivity for Vue & the Vuex store.
Bug Fixes
- core: fromState returns incorrect relationship types for resources (4193e49)
- vue: vue created() does not check if mixin should run (85d59ab)
- vue: vue mixin resets collection if created() is called 2+ times (a57285f)
Features
- core: add support for ParameterBag in Repository.findById #82 (9b2e79e)
- core: delete support in persistCascade for 1-to-1 relations #42 (e9aca6f)
- vue: add support for ParameterBag in resource mixin #82 (5381dcc)
- core: move Resource creation from responseNormalizer to repository to enable use for api's that don't return type