Re: [heycam/webidl] record with arbitrary value types as keys? (#509)

I know what I'll suggest for my case if we close it (go with DOMString - using text to say "these will all be drawn from (enum over there) or a future extended version of it" in one case and "these will all be text representation of small integers" in the other). I don't have the use case of passing these things into an API, so my suggestion there wasn't based on any existing use case.

Result should be indistinguishable after converting to JS, so there's no code incompatibility if we later revisit the issue.

So yes, that works for me.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/heycam/webidl/issues/509#issuecomment-364041816

Received on Thursday, 8 February 2018 08:46:43 UTC