hyperstack-org / hyperstack-org/hyperstack

Diagnostics when saving

Open
#248 0 comments 0 reactions 0 assignees View on GitHub
diagnostics
Dominant language
JavaScript
Stars
538
Forks
41
PR merge metrics
No merged PRs in 30d

Description

When saving a model, hyperstack follows the relationship tree and also saves all associated models that have changed.

This is proper behavior, but in a large system it may lead to having records being saved that you might not expect.

It would help if during the save we dumped a picture to the JS console of what the tree looks like, so you can see why certain models get saved.

Contributor guide

Open the contributing guide

Research direction

No file or test is named. Trace the model save entry point and the relationship-tree traversal described in the issue, then identify existing console or diagnostic conventions. Done means saving a model can show the associated models and relationships that caused additional saves in the JavaScript console.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
backend, devtools
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.