Skip to content

Use reference counting to determine what members added by convention should be removed #2869

Closed as not planned

Description

@AndriySvyryd

Currently we do an explicit graph traversal to find if there are any references to the given member and remove it if there aren't. This could lead to an incorrect removal if the traversal is triggered by a convention invoked while a reference to the given member is being added.
The current method also doesn't recalculate the ConfigurationSource if a reference is removed (e.g. if an explicit relationship to a conventional entity type is removed the entity type will remain marked as added explicitly). This could lead to some orphan members not being removed.

Activity

  1. self-assigned this
    on Aug 18, 2015
  2. added this to the 7.0.0 milestone on Aug 21, 2015
  3. modified the milestones: , 7.0.0 on Sep 17, 2015
  4. modified the milestones: 7.0.0, on Oct 14, 2015
  5. self-assigned this
    on Dec 1, 2015
  6. rowanmiller commented on Dec 10, 2015

    @rowanmiller
    Contributor

    We will do this as part of #214 if we determine that it is needed when we implement that feature

  7. removed this from the 1.0.0 milestone on Mar 4, 2016
  8. removed their assignment
    on Jun 13, 2017
  9. added theissue type on Jun 15, 2025
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

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions