#[hyperstack]Expand description
Process a #[hyperstack(...)] attribute.
This macro can be applied to:
- A module containing entity structs
- A single struct (legacy usage)
§Module Usage (IDL-based)
ⓘ
#[hyperstack(idl = "idl.json")]
pub mod my_stream {
#[entity(name = "MyEntity")]
struct Entity {
// fields with mapping attributes
}
}§Proto-based Usage
ⓘ
#[hyperstack(proto = ["events.proto"])]
pub mod my_stream {
// entity structs
}