Skip to content

[Proposal] Either include all codelist in the schema or keep them all external (csv) #301

@matamadio

Description

@matamadio

There's trade-off between flexibility vs simplicity. Let me analyze both approaches:

External CSV Files

  • Pros:
    • Independent updates without schema versioning
    • Domain experts can contribute easily
    • Cleaner separation of concerns
  • Cons:
    • Additional HTTP requests (slower loading)
    • Network dependency
    • Complex error handling
    • Potential version mismatches
    • Inconsistent with existing enums

Codelists Integrated into Schema

  • Pros:
    • Single source of truth
    • No network dependencies after load
    • Guaranteed consistency
    • Better performance
    • Simpler implementation
    • Works offline
  • Cons:
    • Need schema updates for codelist changes
    • Harder for non-technical contributors

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions