Open kengruven opened 4 months ago
Then it would be nice to implement a validation step that would check if these URL's are different or not
The most common is probably productPage and manual being the same. Cameo QSpot 40 CW and WW have the same manual even though they are different fixtures with different specs, the manual lists both of them, DMX table is the same for both of them.
The most common is probably productPage and manual being the same. Cameo QSpot 40 CW and WW have the same manual even though they are different fixtures with different specs, the manual lists both of them, DMX table is the same for both of them.
That's not what this is about, if I'm reading you right. What I'm saying is that it's (almost certainly) an error when one fixture has the same URL for its productPage
and manual
.
I'm not proposing to add a global uniqueness constraint for all manual
links -- there's no need for that, and there'd be no way to enforce it, anyway.
There are a lot of proposed fixtures I see where someone adds a bunch of URLs, all the same. (The most common is probably
productPage
andmanual
being the same.) I don't think it's ever correct for different URLs to be identical, so it would be nice if we could catch that before the JSON is submitted.