Skip to content

feat(optimizer): Created TypeTransformer and related traits. Removed Optimizer struct.#43

Merged
Bergmann89 merged 7 commits intoBergmann89:xsd-toolboxfrom
lukasfri:master
Apr 28, 2025
Merged

feat(optimizer): Created TypeTransformer and related traits. Removed Optimizer struct.#43
Bergmann89 merged 7 commits intoBergmann89:xsd-toolboxfrom
lukasfri:master

Conversation

@lukasfri
Copy link
Copy Markdown

Rewrote optimization functions to be TypeTransformers.

Requires documentation.

Copy link
Copy Markdown
Owner

@Bergmann89 Bergmann89 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In general it looks good to me. Nice work 👍 Just added some comment about small details and the github workflow is failing (clippy and I guess the doc step will also fail, because there are invalid references in the inline documentation after the refactoring).

Comment thread src/lib.rs Outdated
Comment thread src/optimizer/flatten_complex_type.rs Outdated
Comment thread src/optimizer/mod.rs Outdated
Comment thread src/optimizer/mod.rs Outdated
Comment thread src/optimizer/mod.rs Outdated
Comment thread src/optimizer/mod.rs Outdated
Comment thread src/optimizer/mod.rs Outdated
@Bergmann89 Bergmann89 changed the base branch from master to xsd-toolbox April 23, 2025 19:50
@lukasfri lukasfri requested a review from Bergmann89 April 24, 2025 05:36
@lukasfri lukasfri changed the title Created TypeTransformer and related traits. Rewrote optimizer. feat(optimizer): Created TypeTransformer and related traits. Removed optimizer struct. Apr 25, 2025
@lukasfri lukasfri changed the title feat(optimizer): Created TypeTransformer and related traits. Removed optimizer struct. feat(optimizer): Created TypeTransformer and related traits. Removed Optimizer struct. Apr 25, 2025
Comment thread src/optimizer/mod.rs Outdated
@lukasfri
Copy link
Copy Markdown
Author

Should be ready for merge now.

Comment thread src/optimizer/mod.rs
@lukasfri lukasfri requested a review from Bergmann89 April 27, 2025 13:23
Copy link
Copy Markdown
Owner

@Bergmann89 Bergmann89 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Just the checks needs to be fixed :)

@lukasfri
Copy link
Copy Markdown
Author

LGTM. Just the checks needs to be fixed :)

I forgot what you wanted me to do. Rebase on xsd-toolkit branch?

@Bergmann89
Copy link
Copy Markdown
Owner

I initially thought a rebase was necessary to get the checks running for this PR, but it seems to be working without it. The only thing left to do is fix the checks, and then we’re ready to merge! :)

@lukasfri
Copy link
Copy Markdown
Author

Ah damn I didn't see cargo fmt not passing. I run cargo fmt on save so not quite sure how it is not already fixed. Should be sorted when I get home in 30 min, sorry for the extended back and forth. :/

@Bergmann89
Copy link
Copy Markdown
Owner

No worries. Take your time :)

@lukasfri
Copy link
Copy Markdown
Author

58th times the charm

@Bergmann89 Bergmann89 merged commit cd7b6ff into Bergmann89:xsd-toolbox Apr 28, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants