Skip to content

Conversation

TheGB0077
Copy link

@TheGB0077 TheGB0077 commented Oct 12, 2025

Reasoning: Setting multiple Cookies as part of one request is often needed, but current limitations on encore go don't allow this without using raw api endpoints. This PR adds []string as a valid type for the struct tag "Set-Cookie" in order to provide a clean api for setting up multiple Cookies from a list.

Out of scope on this PR: Adding *http.Cookie type to allow list

fixes #1548

Copy link

encore-cla bot commented Oct 12, 2025

All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Proposal: Adding multiple values for Set-Cookie and allowing *http.Cookie type

1 participant