Doctrine Project

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What’s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
Doctrine MongoDB ODM
  • Doctrine MongoDB ODM
  • MODM-11

Allow custom persisters

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: New Feature New Feature
  • Status: Resolved 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

Ascending order - Click to sort in descending order
  • All
  • Comments
  • History
  • Activity
  • Source
Hide
Permalink
Steven Surowiec added a comment - 07/Jun/10 5:43 PM - edited

Started in: http://github.com/opensky/mongodb-odm/tree/topic-MODM-11

Show
Steven Surowiec added a comment - 07/Jun/10 5:43 PM - edited Started in: http://github.com/opensky/mongodb-odm/tree/topic-MODM-11
Hide
Permalink
Jonathan H. Wage added a comment - 07/Jun/10 8:41 PM

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 - 07/Jun/10 8:41 PM I am not convinced this is a good idea. We need to think through this thoroughly before adding features like this.
Hide
Permalink
Jonathan H. Wage added a comment - 08/Jun/10 5:21 PM

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 - 08/Jun/10 5:21 PM 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
Vote (0)
Watch (0)

Dates

  • Created:
    07/Jun/10 5:41 PM
    Updated:
    09/Jun/10 7:55 PM
    Resolved:
    09/Jun/10 7:55 PM
  • Atlassian JIRA (v5.2.7#850-sha1:b2af0c8)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Doctrine Project. Try JIRA - bug tracking software for your team.