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

AK2000: enforce immutability of messages #12

Open
Aaronontheweb opened this issue Dec 28, 2023 · 0 comments
Open

AK2000: enforce immutability of messages #12

Aaronontheweb opened this issue Dec 28, 2023 · 0 comments
Labels
AK2000 API usage rules

Comments

@Aaronontheweb
Copy link
Member

All messages should be immutable - and this touches on a number of facets:

  1. All properties must be readonly (fields in this case), init-only, or get-only
  2. All collection properties must be declared as System.Collections.Immutable, IReadOnly<T>, or the new frozen collections introduced in .NET 8

This one will require a lot more work than the others.

Related Akka.NET issue: akkadotnet/akka.net#3376

@Aaronontheweb Aaronontheweb changed the title AK1000: enforce immutability of messages AK2000: enforce immutability of messages Jan 16, 2024
@Arkatufus Arkatufus added the AK2000 API usage rules label Feb 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
AK2000 API usage rules
Projects
None yet
Development

No branches or pull requests

2 participants