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

Open
wants to merge 31 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

DO NOT MERGE UNTIL FRONTEND CHANGES ARE IN PLACE

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

Copy link

github-actions bot commented Jan 23, 2025

Test Results

34 tests  ±0   34 ✅ ±0   56s ⏱️ -3s
 4 suites ±0    0 💤 ±0 
 4 files   ±0    0 ❌ ±0 

Results for commit 8826629. ± Comparison against base commit 1a6c28c.

♻️ This comment has been updated with latest results.

@Jack-Golding Jack-Golding marked this pull request as ready for review January 23, 2025 13:21
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