implement optional attrs

This commit is contained in:
nora 2024-05-29 21:03:53 +02:00
parent b50fa51e9c
commit bf7835162d
5 changed files with 135 additions and 56 deletions

View file

@ -53,7 +53,7 @@ impl DataSource for ExampleDataSource {
},
"right" => Attribute::String {
description: "meow".to_owned(),
mode: Mode::Required,
mode: Mode::Optional,
sensitive: false,
},
},