Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Re-encode Context and events for better compatibility and mockability #425

Merged
merged 3 commits into from
Nov 22, 2023

Conversation

armanbilge
Copy link
Member

This uses the pattern of sealed abstract classes with apply methods as the public interface and private final case classes as the actual implementations.

While passing through I did a few other minor tidy-ups.

@armanbilge armanbilge changed the title Re-encode Context and events for better compatibility Re-encode Context and events for better compatibility and mockability Nov 20, 2023
@armanbilge
Copy link
Member Author

One thing that's missing from this PR are withX builder-style methods. I'm not sure how important these are, and we can always add them as-needed without breaking compatibly.

@armanbilge armanbilge merged commit f1309e1 into typelevel:main Nov 22, 2023
9 checks passed
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.

None yet

1 participant