Skip to content

Deletes silently fail if primary key is Long #16

@molcikas

Description

@molcikas

If a aggregate root has a primary key that is a Long, the delete fails because the tracked state stores the primary key as an Integer and fails to find it when obtaining the tracked key from the state since the types don't match. No error is thrown, but the delete is a silent no-op (i.e. the underlying row is not actually deleted).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions