shuttle icon indicating copy to clipboard operation
shuttle copied to clipboard

feat: resource attribute options

Open chesedo opened this issue 2 years ago • 0 comments

This makes it possible for resource attributes to take in options like the following:

#[shuttle_service::main]
async fn poem(#[shared::Postgres(size = "10Gb", public = false)] pool: PgPool) -> ShuttlePoem {
    //                           ----------------------------- Options that will be passed to builder
}

This will bring us one step closer to string interpolation from env variables for resource configuration

chesedo avatar Jul 22 '22 14:07 chesedo