Skip to content

Disallow HasMany setters #79

@zeitlerc

Description

@zeitlerc

HasMany properties are created as session-managed collections. Setting those managed collections to unmanaged collections can cause mysterious bugs or other issues. Argo should automatically initialize the HasMany collection and remove/prevent a setter on that property. This would force consumers to use the appropriate Add/Remove/Clear methods, which would prevent certain bugs at compile time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions