Skip to content

Document the breaking change concerns with Default Interface Members #55106

Open

Description

@bartonjs

Consider lessons from https://github.com/eiriktsarpalis/dim-versioning-issues/, and other corner case discovery.

Mainly the concerns would be the impact of DIMs on existing (any previous stable version) interfaces.

DIMs on new interfaces are only a concern when that interface is also applied to an existing type. So also consider that.

Activity

  1. added
    documentation
    on Jul 2, 2021
  2. added this to the 6.0.0 milestone on Jul 2, 2021
  3. self-assigned this
    on Jul 2, 2021
  4. ghost added
    untriaged
    on Jul 2, 2021
  5. removed
    untriaged
    on Jul 2, 2021
  6. MichalStrehovsky commented on Jul 4, 2021

    @MichalStrehovsky
    Member

    It's kind of covered by the set of rules added in dotnet/corefx#41949 but could be spelled out for clarity (this looks to be a case of:

    • adding a default implementation
    • of interface method from a different interface
    • to an existing interface).

    It might be better to just spell out when it's safe to add a default implementation, because it rarely is.

  7. added
    needs-breaking-change-doc-created
    on Jul 27, 2021
  8. modified the milestones: 6.0.0, 7.0.0 on Aug 11, 2021
  9. modified the milestones: 7.0.0, Future on Aug 11, 2022
  10. removed
    needs-breaking-change-doc-created
    on Aug 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area-Metadocumentation

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions