I could work around by creating a new description
class and
corresponding
MAStringWriter subclass then setting the reference attribute to it:
MASingleOptionDescription new
label: 'Label' ;
reference: MAMyStringDescription new;
selectorAccessor: #myAccessor;
options: [WAPersonManager persons]asDynamicObject;
What I would use here is the description of persons, given that the
options are instances of Person:
...
reference: Person description;
...
To make this work out of the box, maybe
'asString' should be added to
MaStringWriter >> visitStringDescription:
I agree, the latest commit includes your suggestion.
Cheers,
Lukas
--
Lukas Renggli
http://www.lukas-renggli.ch