Skip to content

Warn if filtering on mutable property without providing obvservable #77

@JohanLarsson

Description

@JohanLarsson
var filtered = xs.AsReadOnlyFilteredView(x => x.P != null);

Where P is a mutable property.

Code fix can add:

var filtered = xs.AsReadOnlyFilteredView(
    x => x.P != null,
    x => x.ObserverPropertyChangedSlim(x => x.P));

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions