joist-orm / joist-orm/joist-orm

touchOnChange follow ups

Open
#1,044 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
385
Forks
26
Avg merge
8h 55m
Merged PRs (30d)
42

Description

* Add a `state: pending | flushed` to `JoinRow` so that it can wait and be reset until after `afterCommit` (similar to the `InstanceData.#new` field)
* Make `touchOnChange` work for `o2m` and `o2o` relations
* Add a `ChangableFields` type that combines the OptsOf/RelationsIn

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.