Skip to content

Revert "refactor(SSE): move static functions to extensions (#9010)"#9098

Merged
yschimke merged 2 commits into
masterfrom
jwilson.1002.revert_event_source
Oct 3, 2025
Merged

Revert "refactor(SSE): move static functions to extensions (#9010)"#9098
yschimke merged 2 commits into
masterfrom
jwilson.1002.revert_event_source

Conversation

@swankjesse

Copy link
Copy Markdown
Collaborator

This reverts commit 09fb9a4.

@swankjesse

Copy link
Copy Markdown
Collaborator Author

Idiomatic Kotlin is fine. I like idiomatic Kotlin.

But I do not want to deprecate working code. Every time we deprecate an API we’re creating work for other people to do, and I don’t want to give our users more work to do.

Our existing APIs support Java language callers, and we care way more about Java language callers than most Kotlin language libraries.

If we want to introduce additional APIs (and not replacement APIs), we can do that. But they should probably call through the Java-friendly APIs.

@swankjesse
swankjesse force-pushed the jwilson.1002.revert_event_source branch from 6e729a4 to 7132f80 Compare October 2, 2025 21:03
Co-authored-by: Jesse Wilson <jwilson@squareup.com>
@yschimke
yschimke merged commit 185c408 into master Oct 3, 2025
29 checks passed
@yschimke
yschimke deleted the jwilson.1002.revert_event_source branch October 3, 2025 07:51
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.

3 participants