Skip to content

refactor(domain): migrate football_nation to nationality_code + competitive_region - #75

Merged
aalonsolopez merged 4 commits into
OpenLeagueManager:developfrom
NicoRuedaA:feat/49-nationality-code
May 1, 2026
Merged

refactor(domain): migrate football_nation to nationality_code + competitive_region#75
aalonsolopez merged 4 commits into
OpenLeagueManager:developfrom
NicoRuedaA:feat/49-nationality-code

Conversation

@NicoRuedaA

Copy link
Copy Markdown
Contributor

Summary

Refactor the domain layer to migrate from football_nation to nationality_code + competitive_region for better LoL alignment.

Changes

  • Rename football_nation field to nationality_code across all domain structs (Player, Team, Manager, Staff)
  • Add competitive_region field (String, default empty "") to each domain struct for LoL regional classification
  • Update TypeScript types accordingly

Motivation

The football_nation field was a legacy from the football-themed version. Since this is now a LoL-focused manager game, we should use more appropriate terminology. The nationality_code maintains the ISO country code functionality, while competitive_region allows classification of teams/players into LoL regions (e.g., LCK, LEC, LCS, etc.).

Closes #49

aalonsolopez and others added 4 commits April 30, 2026 19:38
0.1.2
Version missmatch
…titive_region

Rename football_nation field to nationality_code across all domain
structs (Player, Team, Manager, Staff) and add competitive_region
field for LoL regional classification.

Closes #49
@aalonsolopez
aalonsolopez changed the base branch from main to develop April 30, 2026 23:19
@aalonsolopez
aalonsolopez merged commit 1a8195d into OpenLeagueManager:develop May 1, 2026
4 checks passed
@NicoRuedaA
NicoRuedaA deleted the feat/49-nationality-code branch May 7, 2026 13:53
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.

refactor(domain): migrate football_nation → nationality_code + competitive_region

2 participants