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

NonStorableType Attribute #40

Open
mkommend opened this issue Apr 30, 2021 · 0 comments
Open

NonStorableType Attribute #40

mkommend opened this issue Apr 30, 2021 · 0 comments

Comments

@mkommend
Copy link
Member

Every type that Attic should be able to handle must have the StorableType attribute. However, there is no opposing attribute, for example NonStorableType that explicitly states that this type should not be stored. The use of this attribute would also indicate that the StorableType attribute has not be forgotten, but has been deliberately omitted.

An additional benefit of such an attribute would be that the code analyzer would not issue messages / warnings about missing StorableType attributes on type that are explicitly marked with NonStorableType.

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

No branches or pull requests

1 participant