zhongkairen / airtable-sync

A Python module to sync GitHub issues to Airtable records.
https://airtable.com/appM1P3VYxuftmwub/tblFxnqURZZEiTMkc
0 stars 0 forks source link

Mapping for single select options #23

Open zhongkairen opened 1 month ago

zhongkairen commented 1 month ago

The options in a single select field are often different on the two sides being synced. There should be a mapper between the single select field schema of the two sides. e.g. A.option1 is mapped to B.opt1.

Alternatively, a simpler matching logic can be put in place, i.e. comparing the trimmed text, ignoring cases. e.g. remove all the special characters and trim excessive spaces, to lower case and then compare.