Closed Qsppl closed 7 months ago
Thanks for raising this up, fixed in https://github.com/hybridsjs/hybrids/commit/bbf280b788061f43467a63c923aa48d555f17771
Plase update to v8.2.12
Thank you
Solving this error resulted in another error that I can't find.
The component with model { id: 0, ... }
now receives a model, but then loses it:
https://codepen.io/qsppl/pen/jORBqed?editors=1010
https://github.com/hybridsjs/hybrids/blob/36df51a77b5baad2a179bb16fb8e1ff6010624af/src/store.js#L1518
The
resolveId
function resolves0
toundefined
, but expects0
to resolve to"0"
. This causes the errorTypeError: Provided model definition requires non-empty id: "undefined"
. Example: https://codepen.io/qsppl/pen/rNbyOrm?editors=1010