-
Notifications
You must be signed in to change notification settings - Fork 8
Closed
Description
Context:
Let
struct EntityTask {
description: String,
}
#[cgp_component(GetEntityTasks)]
trait SupportsGetEntityTasks {
async fn get_entity_tasks(&self) -> Vec<EntityTask>;
}
then I would like to define multiple tasks provider for this, and somehow have super component that could call all implementations and return all tasks...
I have the feeling it should be similar as in https://contextgeneric.dev/blog/extensible-datatypes-part-2/
Could you give some pointers if it is already doable with the current code?
Metadata
Metadata
Assignees
Labels
No labels