Skip to content

LanguageExt.QueryExtensions.Distinct<T> conflicts with IQueryable.Distinct #1538

Open

Description

@Demivan

Adding global using for v5 LanguageExt breaks Linq method chains:

Error CS0121 : The call is ambiguous between the following methods or properties:
'LanguageExt.QueryExtensions.Distinct<T>(System.Linq.IQueryable<T>)' and
'System.Linq.Queryable.Distinct<TSource>(System.Linq.IQueryable<TSource>)'

I see no reason to have this extension method as IQueryable has Distinct already. This was brought up before - #836 (comment)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions