Re: [w3ctag/design-reviews] Cookie Store API (#469)

@kenchris
Thank you for the feedback!

We tried providing an ergonomic option for usages such as below.
```
let cookie = await cookieStore.get(cookieName);
cookie.expires = new Date('Wed, 1 Jan 2025 00:00:00 GMT');
cookieStore.set(cookie); 
```

However, we defer to your expertise on API ergonomics. If there are other variants of `set` that are preferred, please show us the way! We would be happy to adopt your recommendation.


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3ctag/design-reviews/issues/469#issuecomment-599772284

Received on Monday, 16 March 2020 21:46:49 UTC