Skip to content

Commit 0888fc6

Browse files
committed
use String for id and name
Signed-off-by: Teo Koon Peng <[email protected]>
1 parent 7a82565 commit 0888fc6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/diagram/node_registry.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -475,8 +475,8 @@ impl<'a, DeserializeImpl, SerializeImpl, ForkCloneImpl, UnzipImpl, ForkResultImp
475475
pub trait IntoNodeRegistration {
476476
fn into_node_registration(
477477
self,
478-
id: &'static str,
479-
name: &'static str,
478+
id: BuilderId,
479+
name: String,
480480
gen: &mut SchemaGenerator,
481481
) -> NodeRegistration;
482482
}

0 commit comments

Comments
 (0)