JKHeadley / JKHeadley/rest-hapi

Add "onDelete" option for associations

Open
#96 0 comments 0 reactions 0 assignees View on GitHub
enhancement help wanted
Dominant language
JavaScript
Stars
1.2k
Forks
155
PR merge metrics
No merged PRs in 30d

Description

"RESTRICT"|"CASCADE"|"SET NULL" - specifies how foreign keys should behave when referenced object is deleted

Contributor guide

Open the contributing guide

Research direction

No files or tests are named in the issue. Start by locating how associations and foreign-key behavior are defined, then trace where deletion behavior is applied. Done means associations accept the listed onDelete values and enforce the corresponding behavior when a referenced object is deleted.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js
Domain
api, backend, databases
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.