Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flat list to nested struct #196

Closed
termoshtt opened this issue Feb 14, 2022 · 1 comment
Closed

Flat list to nested struct #196

termoshtt opened this issue Feb 14, 2022 · 1 comment
Assignees
Milestone

Comments

@termoshtt
Copy link
Contributor

From #131

Motivation

struct A {
  x: f64,
  y: f64,
}
struct B {
  z: f64,
  a: A,
}

In this case, we hope to deserialize B((1.0, 2.0, 3.0)) (in STEP) into B { z: 1.0, a: A { x: 2.0, y: 3.0 } } (In Rust)

@termoshtt termoshtt added this to the 0.2.0 milestone Feb 14, 2022
@termoshtt termoshtt self-assigned this Feb 14, 2022
@termoshtt termoshtt pinned this issue Feb 14, 2022
@termoshtt termoshtt modified the milestones: 0.2.0, 0.3.0 Feb 14, 2022
@termoshtt
Copy link
Contributor Author

This should be handled as internal mapping for complex entities, i.e. duplicated by #189

@termoshtt termoshtt unpinned this issue May 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant