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

chore: refactor StructToXml module #11

Merged
merged 4 commits into from
Nov 21, 2023

Conversation

mrnagydavid
Copy link
Owner

In this PR, I have refactored the StructToXML module to be more readable.

I have also refactored the %Items{} module to be a proper struct, holding the list of %Item{}s in a property. It felt like a mistake for a while to have made Items into a "dummy" struct that parses itself into a simple array of Item structs. Making it into a proper struct with a property holding the Item list, it became possible to simplify the converter logic too.

@mrnagydavid mrnagydavid merged commit b9cffbf into develop Nov 21, 2023
1 check passed
@mrnagydavid mrnagydavid deleted the chore/refactor-struct-to-xml branch November 21, 2023 13:01
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

Successfully merging this pull request may close these issues.

1 participant