Skip to content

Add "sparkfun" to supplier_name enum#634

Draft
posthog[bot] wants to merge 1 commit into
mainfrom
posthog-code/add-sparkfun-supplier-name
Draft

Add "sparkfun" to supplier_name enum#634
posthog[bot] wants to merge 1 commit into
mainfrom
posthog-code/add-sparkfun-supplier-name

Conversation

@posthog

@posthog posthog Bot commented Jul 2, 2026

Copy link
Copy Markdown

Adds "sparkfun" to the supplier_name zod enum (and the matching SupplierName union type, kept in sync via expectTypesMatch).

Why: SparkFun is a legitimate electronics supplier, but it was missing from the enum. Setting supplierPartNumbers: { sparkfun: [...] } on a component failed validation in source_component_base, causing @tscircuit/core to throw and blocking chip creation entirely with no in-tool workaround beyond dropping the supplier.


Created with PostHog Code from an inbox report.

SparkFun is a legitimate electronics supplier, but it was missing from the
supplier_name enum. Setting supplierPartNumbers: { sparkfun: [...] } on a
component failed validation in source_component_base, blocking chip creation
entirely.

Generated-By: PostHog Code
Task-Id: 5909e5bc-a00e-4611-a731-c94c230eb4ed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants