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

feat: SerializableDictionary implements IReadOnlyDictionary<TKey, TValue> #6

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

afti-githobo
Copy link

I like to use IReadOnlyDictionary types when passing around dictionaries that shouldn't be modified by the code that's receiving them, but SerializableDictionary didn't implement the interface. It was, however, a very minor addition, so I just went ahead and did that.

I... haven't done a lot of open-source contributions in the past, tbh, so I hope I haven't done anything wrong and I'm not stepping on any toes?

Anyway, the code should be pretty self-explanatory; I didn't really have to do much of anything to implement the interface. Just a small quality-of-life improvement for using the collection in certain programming patterns.

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