xso-proc: add support for parsing attributes into Strings
This is bare-bones and is missing many features which we intend to add in future commits, such as parsing from attributes whose names differ from the field names and parsing into non-String types.
This commit is contained in:
parent
183bef5cf6
commit
212c5c4a83
10 changed files with 665 additions and 50 deletions
|
|
@ -96,7 +96,7 @@ impl StructDef {
|
|||
.inner
|
||||
.make_from_events_statemachine(
|
||||
&state_ty_ident,
|
||||
&target_ty_ident.clone().into(),
|
||||
&Path::from(target_ty_ident.clone()).into(),
|
||||
"Struct",
|
||||
)?
|
||||
.with_augmented_init(|init| {
|
||||
|
|
|
|||
Loading…
Reference in a new issue