Details

    • Type: New Feature New Feature
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      I'm trying to write a SoftDelete extension for Doctrine ODM but am unable to do so because I need to be able to either use my own, custom, Persister or my own, custom, MongoCollection proxy. Providing a custom persister seems like the way to go as it opens up the flexibility of creating other behaviors (such as a Paginator).

        Activity

        Hide
        Steven Surowiec added a comment - - edited
        Show
        Steven Surowiec added a comment - - edited Started in: http://github.com/opensky/mongodb-odm/tree/topic-MODM-11
        Hide
        Jonathan H. Wage added a comment -

        I am not convinced this is a good idea. We need to think through this thoroughly before adding features like this.

        Show
        Jonathan H. Wage added a comment - I am not convinced this is a good idea. We need to think through this thoroughly before adding features like this.
        Hide
        Jonathan H. Wage added a comment -

        I think we need to allow custom ids that are not MongoId but I am not convinced allowing custom persisters is the right solution for you to create these extensions. We should see how this is best handled in the ORM and follow suit.

        Show
        Jonathan H. Wage added a comment - I think we need to allow custom ids that are not MongoId but I am not convinced allowing custom persisters is the right solution for you to create these extensions. We should see how this is best handled in the ORM and follow suit.

          People

          • Assignee:
            Jonathan H. Wage
            Reporter:
            Steven Surowiec
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: