Skip to content

Commit bef8bb2

Browse files
authored
feat: remove update: null for conversation model in MIS (#895)
1 parent 85ccc89 commit bef8bb2

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

packages/appsync-modelgen-plugin/src/__tests__/visitors/__snapshots__/appsync-model-introspection-visitor.test.ts.snap

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -230,10 +230,7 @@ exports[`Conversation Route Introspection Visitor Metadata snapshot should gener
230230
{
231231
\\"type\\": \\"model\\",
232232
\\"properties\\": {
233-
\\"subscriptions\\": {},
234-
\\"mutations\\": {
235-
\\"update\\": null
236-
}
233+
\\"subscriptions\\": {}
237234
}
238235
},
239236
{

packages/appsync-modelgen-plugin/src/utils/process-conversation.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,7 @@ function generateConversationMessageModel(conversationModelName: string, modelNa
103103
{
104104
type: 'model',
105105
properties: {
106-
subscriptions: {},
107-
mutations: { update: null }
106+
subscriptions: {}
108107
}
109108
},
110109
generateAuthAttribute()

0 commit comments

Comments
 (0)