authgear / authgear/authgear-server
Optimize workflow
- Dominant language
- Go
- Stars
- 2k
- Forks
- 125
- Avg merge
- 2d 17h
- Merged PRs (30d)
- 32
Description
- ~~[x] Rewrite store/service API so that they do not mutate directly.~~
- [x] Rewrite event.Service
- [x] Separate it into event.BlockingEvents and event.NonblockingEvents
- [x] event.BlockingEvents.DeliverBlockingEvents(event) (*event.Mutations, error)
- [x] event.NonblockingEvents.DeliverNonBlockingEvents(event) error
- [x] Rewrite the lifecycle of workflow/authflow
- [x] workflow.Service do not open transaction when taking an input.
- [x] Allow ReactTo() to call workflow.WithTx if the node needs to read from the database, or see the effects of any previous nodes.
- [x] Remove OnCommitEffect
- [x] Introduce BeforeFinishEffect
- [x] Introduce AfterFinishEffect
Contributor guide
Assessment
This issue has not been assessed yet.