Skip to content

Commit

Permalink
use String for id and name
Browse files Browse the repository at this point in the history
Signed-off-by: Teo Koon Peng <[email protected]>
  • Loading branch information
koonpeng committed Jan 3, 2025
1 parent 7a82565 commit 0888fc6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/diagram/node_registry.rs
Original file line number Diff line number Diff line change
Expand Up @@ -475,8 +475,8 @@ impl<'a, DeserializeImpl, SerializeImpl, ForkCloneImpl, UnzipImpl, ForkResultImp
pub trait IntoNodeRegistration {
fn into_node_registration(
self,
id: &'static str,
name: &'static str,
id: BuilderId,
name: String,
gen: &mut SchemaGenerator,
) -> NodeRegistration;
}
Expand Down

0 comments on commit 0888fc6

Please sign in to comment.