I\'m trying to figure out which design pattern is more suitable in the following case: I have data with let\'s say different type field. Depending on this
type