Offering "main/flagship" incorrectly limited to one per line #16
Labels
No labels
Compat/Breaking
Compat/Deprecation
Kind
Bug
Kind
Chore
Kind
Documentation
Kind
Enhancement
Kind
Feature
Kind
Investigation
Kind
Question
Kind
Security
Kind
Testing
Meta/Good First Issue
Meta/Help Wanted
Meta/Stale
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
Status/Needs Triage
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
XeplosionGames/minecraft-provider-analysis#16
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What happened?
is_main_offering is meant to mark the flagship/most-emphasized offering on
a product line, but the schema description and the capture-form's own
validation both assert "at most one true per line" — enforced client-side
in tools/capture-form/index.html (mainCount > 1 check). In practice,
providers sometimes emphasize multiple offerings equally (e.g. two
co-featured "Most Popular" plans), which this incorrectly blocks/warns
against.
Steps to reproduce
pick at most one."
Expected behavior
Multiple offerings on the same line can be marked is_main_offering: true
when the provider's storefront genuinely emphasizes more than one.
Environment
No response
Additional context
No schema change needed — is_main_offering is a plain boolean with no
schema-level uniqueness constraint; the limit is purely the capture-form's
client-side check plus a misleading schema description string. Fix is:
remove the mainCount > 1 validation check, correct the schema description
("At most one true per line" -> drop that clause), and update
docs/capture-guide.md's matching guidance line.
Checklist