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

Support for hierarchical Excel data sources #18

Open
nils-christian opened this issue May 27, 2019 · 0 comments
Open

Support for hierarchical Excel data sources #18

nils-christian opened this issue May 27, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@nils-christian
Copy link
Collaborator

Currently the ExcelDataSource annotation supports only flat data structures. However, in some cases you want to build a larger and more complex (hierarchical) data structure which has still to be mapped from an Excel row. At the moment one has to implement this manually. It would be possible to generate this as well though. This could be achieved in two ways:

  1. The generated data source maps the fields of the sub-datatypes as well.
  2. The generated data source delegates to the data sources from the sub-datatypes.

Both ways would require that one can inform the generator that the field has to be handled in a specific way instead of just delegating to the conversion service. A possible candiate would be the ExcelColumn annotation which is usually used to specify a header name. We could add another field to the annotation as a marker for the generator.

@nils-christian nils-christian added the enhancement New feature or request label May 27, 2019
@nils-christian nils-christian added this to the 1.2.0 milestone May 27, 2019
@nils-christian nils-christian modified the milestones: 1.2.1, 1.3.0 Mar 30, 2020
@nils-christian nils-christian removed this from the 1.3.0 milestone Sep 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant