Skip to content

Commit 0ddd4c0

Browse files
committed
chore: Add validation TODOs
1 parent 76c686b commit 0ddd4c0

File tree

1 file changed

+5
-0
lines changed
  • crates/stackable-versioned-macros/src/attrs/common

1 file changed

+5
-0
lines changed

crates/stackable-versioned-macros/src/attrs/common/item.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -296,6 +296,7 @@ impl ItemAttributes {
296296
}
297297
}
298298

299+
// TODO (@Techassi): Add validation for when default_fn is "" (empty path).
299300
/// For the added() action
300301
///
301302
/// Example usage:
@@ -317,6 +318,10 @@ fn default_default_fn() -> SpannedValue<Path> {
317318
)
318319
}
319320

321+
// TODO (@Techassi): Add validation for when from_name AND from_type or both
322+
// none => is this action needed in the first place?
323+
// TODO (@Techassi): Add validation that the from_name mustn't include the
324+
// deprecated prefix.
320325
/// For the changed() action
321326
///
322327
/// Example usage:

0 commit comments

Comments
 (0)