Skip to content

refactor: unify upsert requests#273

Merged
augustoccesar merged 5 commits intonextfrom
augustoccesar/unify-upsert-requests
Apr 14, 2026
Merged

refactor: unify upsert requests#273
augustoccesar merged 5 commits intonextfrom
augustoccesar/unify-upsert-requests

Conversation

@augustoccesar
Copy link
Copy Markdown
Member

@augustoccesar augustoccesar commented Apr 13, 2026

Unifying the preview and local session requests under the same request struct.
Since being able to update preview sessions is something that we now want to be able to be done, the payload of both requests is pretty the same.

You either want to create a new session (so no name/token is send), or want to update an existing one.
With this, the endpoints also become the same-ish. With the only difference being how the name is generated (animal for local, and hex for preview).

Closes SHIP-2604, SHIP-2599

@augustoccesar augustoccesar self-assigned this Apr 13, 2026
@augustoccesar augustoccesar marked this pull request as ready for review April 13, 2026 11:31
@augustoccesar augustoccesar merged commit a6aa839 into next Apr 14, 2026
6 checks passed
@augustoccesar augustoccesar deleted the augustoccesar/unify-upsert-requests branch April 14, 2026 10:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant