You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You're absolutely right. The current implementation only loops through data similar to the table at https://www.gs1.org/standards/id-keys/company-prefix and returns the first match, in this case Global Office - GTIN-8. To support these four edge cases, I think it needs to be rewritten to compare with the longest possible prefixes first.
I'm curious, what's your use case for knowing that these are not only Global Office - GTIN-8 but something more specific, like GS1 UK - GTIN-8?
As far as I can see from the source code it doesn't take into account this edge case
From https://www.gs1.org/standards/id-keys/company-prefix
The text was updated successfully, but these errors were encountered: