Skip to content

Fix generating DD from Repository #10

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

patricklucas
Copy link

Before this change, DataDictionaryGenerator#generate(Repository, File) did not actually work, because it relies on the class-level variable xmlDocument being set, which is only set during unmarshalling which happens only in the generate(InputStream, File) entrypoint.

This change doesn't aim to do anything except make generate not break (there's certainly a way to avoid needing the repository Node altogether).

Before this change, `DataDictionaryGenerator#generate(Repository, File)`
did not actually work, because it relies on the class-level variable
`xmlDocument` being set, which is only set during unmarshalling which
happens only in the `generate(InputStream, File)` entrypoint.

This change doesn't aim to do anything except make `generate` not break
(there's certainly a way to avoid needing the repository `Node`
altogether).
@chrjohn
Copy link
Member

chrjohn commented Jun 12, 2025

Thanks for the PR 👍
Will try to setup a build pipeline before merging...

@chrjohn chrjohn closed this Jun 12, 2025
@chrjohn chrjohn reopened this Jun 12, 2025
@chrjohn chrjohn closed this Jun 13, 2025
@chrjohn chrjohn reopened this Jun 13, 2025
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.

2 participants