Re: [w3c/manifest] Why is purpose a "unordered set of unique space-separated tokens"? (#903)

I agree with the author's assumption. Just because things have been working as a space-separated list does not imply it's a good design. The design matching HTML doesn't make sense; this is JSON. Arrays make more sense and require less processing (e.g. no split on space, validate enums, or other magic). It's not easy to model this with types as is and values are not explicit. Having a just a string makes this quite error-prone and complex. I

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/manifest/issues/903#issuecomment-800996591

Received on Wednesday, 17 March 2021 11:09:44 UTC