- From: Ayu Ishii <notifications@github.com>
- Date: Mon, 16 Mar 2020 14:46:36 -0700
- To: w3ctag/design-reviews <design-reviews@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 16 March 2020 21:46:49 UTC
@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