On Mon, Jun 18, 2012 at 11:19:18AM +0200, Marco Sehrer [ninjaconcept.com] wrote:
>
> after working for some time with ruote, I found some things, I think, might 
> not be that consistent as they could be.
> Maybe I missed a concept, I'm sure you will have answers :-)
>
> 1)
> Queries on a specific participant are not scoped to that participant
>
> For example
>
> RuoteKit.engine.participant('picklist_processor').all.map {|wi| 
> wi.participant_name}
> -> returns all workitems/partipant_names ..
>
> the same as doing
>
> RuoteKit.engines.storage_participant.all.map {|wi| wi.participant_name}
>
> Intuitively I would expect that calling a query on a participant, will 
> scope/prefilter that query ..

Yes, you are right, that's not consistent. As you've seen with the tag query,
I still have work to do with the StorageParticipant.

I'm glad I have someone that complains about those issues.

Please give me some time to rethink the storage participant, rewrite its
interface and then let the storage implementations adapt.


Thanks,

--
John Mettraux - http://lambda.io/jmettraux

-- 
you received this message because you are subscribed to the "ruote users" group.
to post : send email to [email protected]
to unsubscribe : send email to [email protected]
more options : http://groups.google.com/group/openwferu-users?hl=en

Reply via email to