File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
packages/amplify_datastore_plugin_interface/test Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -125,7 +125,10 @@ void main() {
125
125
'isReadOnly' : false ,
126
126
'association' : {
127
127
'associationType' : 'BelongsTo' ,
128
+ // TODO(Jordan-Nelson): Remove `targetName` when API category has been
129
+ // updated to support CPK changes.
128
130
'targetName' : 'postID' ,
131
+ 'targetNames' : ['postID' ],
129
132
'associatedType' : 'Post'
130
133
},
131
134
},
@@ -211,7 +214,10 @@ void main() {
211
214
'isReadOnly' : false ,
212
215
'association' : {
213
216
'associationType' : 'BelongsTo' ,
217
+ // TODO(Jordan-Nelson): Remove `targetName` when API category has been
218
+ // updated to support CPK changes.
214
219
'targetName' : 'blogID' ,
220
+ 'targetNames' : ['blogID' ],
215
221
'associatedType' : 'Blog'
216
222
}
217
223
},
You can’t perform that action at this time.
0 commit comments