Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,3 @@ DTO HExampleResponseDTO {
```

By default, all parameters are required (unless optional is used in front) and errors will be thrown in the controllers if parameters are missing.

To learn more about DTOs, read our reference guide on [DTOs](https://bitloops.com/docs/bitloops-language/reference/dto)
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Entity TitleEntity {
}
```

Now, in Bitloops Language specifically, to ensure good coding practice, there is the concept of [Root Entity](https://bitloops.com/docs/bitloops-language/reference/entity). This is a special type of Entity as its the Entity that can be referenced by other objects in the application.
Now, in Bitloops Language specifically, to ensure good coding practice, there is the concept of Root Entity. This is a special type of Entity as its the Entity that can be referenced by other objects in the application.

To declare this type of Entity, you should simply add Root as a prefix:

Expand Down