Previously, when fastboot-data-route was applied to a route that fetches a single model (e.g. via store.findRecord()), the data was being serialized and returned as an array with a single element. This was problematic because the route/controller expects the returned model to be a single object in these cases.
Previously, when fastboot-data-route was applied to a route that fetches a single model (e.g. via
store.findRecord()
), the data was being serialized and returned as an array with a single element. This was problematic because the route/controller expects the returned model to be a single object in these cases.