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

Nested Array (Jagged Array) support. #1

Open
jasonkuo41 opened this issue Jun 1, 2020 · 0 comments
Open

Nested Array (Jagged Array) support. #1

jasonkuo41 opened this issue Jun 1, 2020 · 0 comments
Assignees
Labels
api-design A proposal or analyze of a design choice

Comments

@jasonkuo41
Copy link
Owner

Background and Motivation

Currently, we do not plan on support nested array and jagged array at our initial release.
This is mainly because of the way of expressing "nested array" is "quite a lot" and is not enough to be covered by using Attributes.

Thus we will be relying on user code to express how a jagged array is represented.

Proposal A

Use of [Unwrap(string unwrapFunction)] to allow users to correctly unwrap the nested array types, this also allows them to read data and variables.

Proposal B

Use of [FormatNestedAs(Type unwrapType)] to allow users to use a schematic expression to express how they want certain fields to be. Also allowing users to accept the current class as constructor.

More proposal needed.

@jasonkuo41 jasonkuo41 added the api-design A proposal or analyze of a design choice label Jun 1, 2020
@jasonkuo41 jasonkuo41 self-assigned this Jun 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api-design A proposal or analyze of a design choice
Projects
None yet
Development

No branches or pull requests

1 participant