docs: improvements to module and data model documentation (#8062)
* docs: improvements to module and data model documentation * add note about data model name casing
This commit is contained in:
@@ -12,6 +12,18 @@ Data model relationships are in active development and may change.
|
||||
|
||||
</Note>
|
||||
|
||||
<Note title="Use data model relationships when" type="success">
|
||||
|
||||
- You want to create a relation between data models in the same module.
|
||||
|
||||
</Note>
|
||||
|
||||
<Note title="Don't use data model relationships if" type="error">
|
||||
|
||||
- You want to create a relationship between data models in different modules. Use module links instead.
|
||||
|
||||
</Note>
|
||||
|
||||
## What is a Relationship Property?
|
||||
|
||||
A relationship property is defined using relation methods, such as `hasOne` or `belongsTo`. It represents a relationship between two data models in a module.
|
||||
|
||||
Reference in New Issue
Block a user