Login  Register

Re: Question about MooseChef

Posted by abergel on Sep 22, 2015; 7:01pm
URL: https://forum.world.st/Question-about-MooseChef-tp4851322p4851551.html

Hi!

> It didn't work if your association "opposite" is something else than a method.
> Try on a method of your model where the result is not empty:
> self queryOutgoingAccesses atMethodScope

I have tried only on outgoing invocations. I wrote a test about it.
But yes, what I have done is probably not optimal.

> You will see that the result is not methods but attributes.
> If you query references, you will get classes instead of methods...
>
> I think you should use MooseQuery that is designed to resolve these issues:
>
> MCHttpRepository
>        location: 'http://smalltalkhub.com/mc/AnneEtien/MooseQueryDraft/main'
>        user: ''
>        password: ''

Well… I think MooseQuery should be added to Moose and not loaded as a separate package. What is the status of it?
I had a look at Famix-Core.MooseQueryEXPERIMENTAL and MooseQuery. Tests are green and it looks okay.
So, what next?

Alexandre

--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.




_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev