Hi,
It would be nice to have some procedural macro to simplify the user experience for:
- extracting the state from the context
- generate the main, avoiding the boilerplate
For example:
#[stateful_function("example/greet")]
pub fn greet(context: Context, request: GreetRequest, #[state("seen_count")] state: Option<Int32Value>) -> Effects {
//code
}
If you're interested in this feature, i'm willing to give it a try!
Hi,
It would be nice to have some procedural macro to simplify the user experience for:
For example:
If you're interested in this feature, i'm willing to give it a try!