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

refactor: Separate out chronology and enumeration #127

Draft
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

Jack-Golding
Copy link
Contributor

@Jack-Golding Jack-Golding commented Dec 5, 2024

This work is to change how the module handles the chronology/enumeration template metadata rules attached to a rulesets template config. In various places throughout both the frontend and backend modules we do work to either seperate or combine these two which could be avoided and overall simplified if they were treated as individual arrays

MODSER-42

Initial domain model work seperating out TemplateMetadataRules into chronology and enumeration arrays, removing parent classes assigning these based on refdata

WIP
Additionally seperated out enumeration and chronology templateMetadataRuleFormats, is building but ALOT more testing needs to be done

WIP
Added initial migrations for handling domain class changes and renaming of new fields

WIP
Updated views to new domain models
Within the templateConfig, updated chronology/enumeration to be chronologyRules/enumerationRules
Updated methods within services and domain models to match the new domain models

Are we finally in a posistion that this works? I hope so
@Jack-Golding
Copy link
Contributor Author

At this point i'm tempted to update naming conventions and package structure, however I would prefer for this PR to remain as legible as possible

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