Am posing messages on GH Repo Disc Board while awaiting subscription approval
Sean P. DeNigris wrote
> Sanjay Minni wrote
>>
> <magritte Description>
>> ... Are the pragmas required
>
> Yes, annotating methods is how they are registered as part of the Magritte
> description. There have been several non-backward-compatible Magritte
> versions (currently on v. 3), so that may have been added later; note that
> these methods should be on the instance side, unlike in the original
> Magritte. Here is an example:
>
> MyClass>>#descriptionHasMetacelloConfiguration
>
> <magritteDescription>
> ^ MABooleanDescription new
> priority: 250;
> accessor: #hasMetacelloConfiguration;
> beReadOnly;
> beRequired;
> yourself
>
> p.s. happy to discuss here, but we also added a discussion place to the GH
> repo:
https://github.com/magritte-metamodel/magritte/discussions> p.p.s. there is a Magritte ML, but it doesn't get much traffic
>
>
>
> -----
> Cheers,
> Sean
> --
> Sent from:
http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html