Commit a31864a
committed
Implemented
The `GetTopicReferenceAsync()` method takes a topic reference from the source topic and maps it to a property on the target model. If the mapped topic type isn't compatible with the target property type, then it is excluded, as a way of filtering out incompatible types.
By incorporating the new `GetValidatedMappingType()` method (88c7fba), we pre-validate the type compatibility, instead of requiring that the model first be mapped—a potentially expensive operation.
This satisfies the topic reference requirement called for in #83.GetValidatedMappingType() for topic references1 parent 7caa832 commit a31864a
1 file changed
Lines changed: 6 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1085 | 1085 | | |
1086 | 1086 | | |
1087 | 1087 | | |
1088 | | - | |
1089 | | - | |
1090 | | - | |
1091 | | - | |
1092 | | - | |
1093 | | - | |
1094 | | - | |
1095 | | - | |
1096 | | - | |
1097 | | - | |
1098 | | - | |
| 1088 | + | |
| 1089 | + | |
| 1090 | + | |
| 1091 | + | |
| 1092 | + | |
1099 | 1093 | | |
1100 | 1094 | | |
1101 | 1095 | | |
1102 | 1096 | | |
1103 | 1097 | | |
1104 | | - | |
| 1098 | + | |
1105 | 1099 | | |
1106 | 1100 | | |
1107 | 1101 | | |
| |||
0 commit comments