-
Notifications
You must be signed in to change notification settings - Fork 7
improper language codes returned in some data sets #69
Copy link
Copy link
Open
Labels
bugSomething isn't workingSomething isn't working
Description
eg.
request: SchoolHolidays?countryIsoCode=CH&validFrom=2026-03-10&validTo=2027-03-09
comment entry with "language": " o", seems out of place
"comment": [
{
"language": "DE",
"text": "deutschsprachig"
},
{
"language": " o",
"text": "ne Tourismusgemeinden"
},
{
"language": "FR",
"text": "germanophone"
},
{
"language": "EN",
"text": "German-speaking"
}
]Notes (extra context):
- zod was used on the receiving end to strongly parse the data and found these discrepancies
- had to remove the strong schema for the iso code for now
d588c426-dd25-4b50-9eb2-7a31f8574688;CH;2026-02-21;2026-03-08;School;Regional;DE Sport,FR Sport,IT Sport,EN Sport;VS;DE deutschsprachig, ohne Tourismusgemeinden,FR germanophone,EN German-speaking
DE deutschsprachig, ohne Tourismusgemeinden
either the comma is not escaped properly or it shouldnt be there.
what is intended to be said in german there?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working