Skip to content

refactor!: make Event an interface#175

Open
ThexXTURBOXx wants to merge 3 commits intoJonasWanke:mainfrom
ThexXTURBOXx:main
Open

refactor!: make Event an interface#175
ThexXTURBOXx wants to merge 3 commits intoJonasWanke:mainfrom
ThexXTURBOXx:main

Conversation

@ThexXTURBOXx
Copy link
Contributor

This is a breaking change!
As it stands, the Event class cannot be used in conjunction with freezed.
In order to fix this, I had two options:

  1. Make Event a real interface
  2. Introduce an interface IEvent (or whatever) that is now the real interface and use that instead across the codebase

Since 2. seems to be a rather huge refactor, I chose option 1.
Of course, since 2. may be non-breaking, I can change this PR accordingly, if needed/wanted.

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.

1 participant