FOLIO-FSE / FOLIO-FSE/folio_migration_tools

Make "split value by delimiter" feature work together with reference data mapping

Open
#412 1 comment 0 reactions 0 assignees View on GitHub
2025 Review Orders Organizations
Dominant language
Python
Stars
14
Forks
10
Avg merge
55m
Merged PRs (30d)
7

Description

This would allow you to provide

org_types
a,b,c

and get a FOLIO array with three mapped reference data UUIDs.

It will require either extending mapper_base.get_mapped_value so it iterates over subdelimited values, or iterating over subdelimited values int he organizations_mapper and then adding a custom version of mapper_base.get_mapped_value which takes the value to be translated as ref data as an argument rather than the entire object.

Not sure if we will be seeing ref data arrays beyond organizations. Maybe for note types or statistical codes?

Contributor guide

Open the contributing guide

Research direction

Start by reading mapper_base.get_mapped_value and organizations_mapper, the two entry points named in the issue. Determine how split values are represented and how reference data mapping currently handles an organization object. Done means a delimited value such as a,b,c produces an array containing the three mapped reference-data UUIDs, with the scope for other reference-data arrays clarified.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.