Skip to content

Commit f5b2c15

Browse files
committed
anchor for flows and constraints
1 parent 3bf94e3 commit f5b2c15

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

guides/providing-services.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1101,6 +1101,24 @@ entity Person : cuid {
11011101

11021102
Next to input validation, you can add [database constraints](databases#database-constraints) to prevent invalid data from being persisted.
11031103

1104+
## [Constraints](services/constraints)
1105+
1106+
Declarative constraints allow you to express conditions using CXL expressions that are validated automatically whenever data is written, greatly reducing the need for extensive custom code for input validation.
1107+
1108+
::: tip Read the guide
1109+
Find additional information about constraints in this guide:
1110+
[→ **_Constraints_**](services/status-flows)
1111+
:::
1112+
1113+
## [Status-Transition Flows](services/status-flows)
1114+
1115+
Status-transition flows ensure transitions are explicitly modeled, validated, and executed in a controlled and reliable way, thereby eliminating the need for extensive custom coding.
1116+
1117+
::: tip Read the guide
1118+
Find additional information about modeling status-transition flows in this guide:<br>
1119+
[&rarr; **_Status-Transition Flows_**](services/status-flows)
1120+
:::
1121+
11041122
## Custom Logic
11051123

11061124

0 commit comments

Comments
 (0)