Children by id, e.g. the lines of an order kept as a record by id: each(line, { id: Schema.String, at: Optic.id<State>().key('lines').compose(Optic.entries()) }).
each(line, { id: Schema.String, at: Optic.id<State>().key('lines').compose(Optic.entries()) })
Children by id, e.g. the lines of an order kept as a record by id:
each(line, { id: Schema.String, at: Optic.id<State>().key('lines').compose(Optic.entries()) }).