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

Variadic column sequences #140

Open
rauanmayemir opened this issue May 7, 2021 · 1 comment
Open

Variadic column sequences #140

rauanmayemir opened this issue May 7, 2021 · 1 comment
Labels
question Further information is requested

Comments

@rauanmayemir
Copy link

Is there a way to read variadic sequences, like e.g in this pseudo headers model?

ProductId,ProductName,AttrName1,AttrValue1,AttrName2,AttrValue2,AttrName3,AttrValue3

With regular phpspreadsheet I'd read first two columns and then loop until the first empty column, wondering if it's possible to achieve this with 'OEM'. I think this could be related to #33.

@dkarlovi dkarlovi added the question Further information is requested label May 7, 2021
@dkarlovi
Copy link
Collaborator

dkarlovi commented May 7, 2021

@rauanmayemir that's exactly what the linked issue is supposed to do, yes. In the meantime you can create a custom denormalizer which does it.

Later I intend to have support for mapping stuff like AttrName{X}, AttrValue{X} which would give you an array of value objects.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Development

No branches or pull requests

2 participants