-
Notifications
You must be signed in to change notification settings - Fork 1
New system #9
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
base: main
Are you sure you want to change the base?
New system #9
Conversation
| import Foundation | ||
|
|
||
| // FIXME: Fix with proper serialisation | ||
| public struct TemporarySerialization: Sendable { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this should be able to be pretty simple in the end; originally we were ready to mix serialization mechanisms but that isn't a thing anymore really with SerializationRequirement
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yup, old Serialization has a lot of stuff which we don't need anymore, I guess. I want to return to this later, that's why put FIXME. But guess will do it in the end and check even something needed, as simple json encoder/decoder will work for now.
| } | ||
|
|
||
| // TODO: Needed for actorid now, refactor or remove when adding serialization | ||
| extension ClusterSystem.ActorID: Codable {} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
that's pretty expected, keep is ok
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, put this comment at the very beginning of refactoring, should be just codable.
Checking code changes and tests