8000 Nested attributes for soft deletes · Issue #360 · cloudcreativity/laravel-json-api · GitHub
[go: up one dir, main page]

Skip to content
Nested attributes for soft deletes #360
Closed
@JeanLucEsser

Description

@JeanLucEsser

Hi there,

You've come a long way these last few months, this is impressive work!

I'm using a status object as an attribute to hold and manage my created-at, updated-at and deleted-at fields (and *-by as well). It seems like I cannot set the soft delete field accordingly in my adapter:

protected $softDeleteField = 'status.deleted-at';

As the spec doesn't forbid the use of "nested attributes" or "objects as attributes", I was expecting this to work. Is there a way I could easily fix this? Or am I missing something?

-- Jean-Luc

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0