Deprecate Eloquent\SoftDeletes trait

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Minor - P4
    • laravel-5.4.1
    • Affects Version/s: None
    • Component/s: Laravel
    • None
    • PHP Drivers
    • Needed
    • Hide
      1. What would you like to communicate to the user about this feature?
        That the `SoftDeletes` trait will be deprecated in favor of the Laravel one. Docs should be updated wherever the old trait is mentioned
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
        Shouldn't be necessary as long as the namespace in any import statements is replaced in example code.
      3. Which versions of the driver/connector does this apply to? 5.4.1
      Show
      What would you like to communicate to the user about this feature? That the `SoftDeletes` trait will be deprecated in favor of the Laravel one. Docs should be updated wherever the old trait is mentioned Would you like the user to see examples of the syntax and/or executable code and its output? Shouldn't be necessary as long as the namespace in any import statements is replaced in example code. Which versions of the driver/connector does this apply to? 5.4.1
    • None
    • None
    • None
    • None
    • None
    • None

      The SoftDeletes trait is only necessary to remove the call to qualifyColumn in the parent trait. But the DocumentModel::qualifyColumn is already disabled.

       

      The trait MongoDB\Laravel\Eloquent\SoftDeletes can be deprecated in favor to Illuminate\Database\Eloquent\SoftDeletes

            Assignee:
            Pauline Vos
            Reporter:
            Jérôme Tamarelle
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: