Skip to content

Commit 4ac59fd

Browse files
authored
Merge pull request mendix#8920 from ragutislt/patch-2
Update generalization-and-association.md - fix typo
2 parents 8b5edff + 3371697 commit 4ac59fd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

content/en/docs/refguide/modeling/domain-model/generalization-and-association.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ Making a decision between inheritance and associations is something you should d
6969

7070
### Inheritance
7171

72-
Using inheritance can make your microflows easier to maintain, you can re-use functionality. However, you do lose flexibility. Once you have applied inheritance to an entity it is difficulty to remove the inheritance and keep all the data using a relationship. Take into account whether a record can change type of subclass, for example an employee specialization object changes and becomes a project manager object. In most scenarios there is no perfect solution and there are always concessions to make, just be aware of the implications when making a choice.
72+
Using inheritance can make your microflows easier to maintain, you can re-use functionality. However, you do lose flexibility. Once you have applied inheritance to an entity it is difficult to remove the inheritance and keep all the data using a relationship. Take into account whether a record can change type of subclass, for example an employee specialization object changes and becomes a project manager object. In most scenarios there is no perfect solution and there are always concessions to make, just be aware of the implications when making a choice.
7373

7474
Don't just add inheritance because it is easier, or remove it because it is slower. Especially in scenarios where different object types have to go through a similar process, it can be worthwhile to apply inheritance just so you can re-use functionality and increase the consistency and stability of your application.
7575

0 commit comments

Comments
 (0)