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

Let the ruleset module know about metadata #4329

Merged
merged 4 commits into from
Apr 20, 2021

Conversation

matthias-ronge
Copy link
Collaborator

@matthias-ronge matthias-ronge commented Apr 9, 2021

In the past, it was first decided to make the individual modules independent of another, which also means that the ruleset module was independent of the metadata that it processed. In the meantime, that has become more relaxed, metadata is part of the API and can be used in modules. So, this now introduces metadata into ruleset module. This makes a lot of things easier and more understandable in the code, and is a prerequisite for further development. It also gets rid of complicated type parameters.

In the future, it can also be resolved that complex metadata could not be mapped if not defined in the ruleset, because the ruleset module could not be aware of it (#3762). Now it is, so that this problem, too, is easy to solve in a follow-up to this pull request.

This makes a lot of things easier and more understandable in the code,
and is a prerequisite for further development.

In the past, it was first decided to make the individual modules
independent of another, which also means that the ruleset module was
independent of the metadata that it processed. In the meantime, that has
become more relaxed, metadata is part of the API and can be used in
modules. So, this now introduces metadata into rule set modules, makes
it easier to use and more understandable, and gets rid of complicated
type parameters.

In the future, it can also be resolved that complex metadata could not
be mapped if not defined in the ruleset, because the ruleset module
could not be aware of it. Now it is, so that this problem, too, is easy
to solve in a continuation of this development.
@Kathrin-Huber Kathrin-Huber merged commit 9da6801 into kitodo:master Apr 20, 2021
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