Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -830,10 +830,9 @@ jobs:
ln -sf $CARGO_HOME/bin/spacetimedb-cli $CARGO_HOME/bin/spacetime
- name: Check quickstart-chat bindings are up to date
working-directory: sdks/csharp
run: |
bash tools~/gen-quickstart.sh
"${GITHUB_WORKSPACE}"/tools/check-diff.sh examples~/quickstart-chat || {
bash sdks/csharp/tools~/gen-quickstart.sh
tools/check-diff.sh templates/chat-console-cs/module_bindings || {
echo 'Error: quickstart-chat bindings have changed. Please run `sdks/csharp/tools~/gen-quickstart.sh`.'
exit 1
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
ConnectionId: Guid_1
},
user: {
Identity: Identity_1,
Online: true
identity: Identity_1,
online: true
}
},
OnInsertUser: {
Expand All @@ -35,8 +35,8 @@
ConnectionId: Guid_1
},
user: {
Identity: Identity_2,
Online: true
identity: Identity_2,
online: true
}
},
OnInsertUser: {
Expand All @@ -52,8 +52,8 @@
ConnectionId: Guid_1
},
user: {
Identity: Identity_3,
Online: true
identity: Identity_3,
online: true
}
},
OnUpdateUser: {
Expand Down Expand Up @@ -81,13 +81,13 @@
ConnectionId: Guid_1
},
oldUser: {
Identity: Identity_1,
Online: true
identity: Identity_1,
online: true
},
newUser: {
Identity: Identity_1,
Name: A,
Online: true
identity: Identity_1,
name: A,
online: true
}
},
OnSetName: {
Expand All @@ -109,7 +109,7 @@
Count: 4
},
User: {
UserIdentityIdxBtree: {},
Identity: {},
Count: 3
}
},
Expand Down Expand Up @@ -141,7 +141,7 @@
Count: 4
},
User: {
UserIdentityIdxBtree: {},
Identity: {},
Count: 3
}
},
Expand Down Expand Up @@ -173,7 +173,7 @@
Count: 4
},
User: {
UserIdentityIdxBtree: {},
Identity: {},
Count: 3
}
},
Expand All @@ -198,13 +198,13 @@
ConnectionId: Guid_1
},
oldUser: {
Identity: Identity_3,
Online: true
identity: Identity_3,
online: true
},
newUser: {
Identity: Identity_3,
Name: B,
Online: true
identity: Identity_3,
name: B,
online: true
}
},
OnInsertMessage: {
Expand All @@ -220,9 +220,9 @@
ConnectionId: Guid_1
},
message: {
Sender: Identity_3,
Sent: 1718487775346381,
Text: Hello, A!
sender: Identity_3,
sent: 1718487775346381,
text: Hello, A!
}
},
OnInsertMessage: {
Expand All @@ -238,9 +238,9 @@
ConnectionId: Guid_1
},
message: {
Sender: Identity_1,
Sent: 1718487783175083,
Text: Hello, B!
sender: Identity_1,
sent: 1718487783175083,
text: Hello, B!
}
},
OnInsertMessage: {
Expand All @@ -256,9 +256,9 @@
ConnectionId: Guid_1
},
message: {
Sender: Identity_3,
Sent: 1718487787645364,
Text: Goodbye!
sender: Identity_3,
sent: 1718487787645364,
text: Goodbye!
}
},
OnUpdateUser: {
Expand All @@ -274,14 +274,14 @@
ConnectionId: Guid_1
},
oldUser: {
Identity: Identity_3,
Name: B,
Online: true
identity: Identity_3,
name: B,
online: true
},
newUser: {
Identity: Identity_3,
Name: B,
Online: false
identity: Identity_3,
name: B,
online: false
}
},
OnInsertMessage: {
Expand All @@ -297,49 +297,49 @@
ConnectionId: Guid_1
},
message: {
Sender: Identity_1,
Sent: 1718487794937841,
Text: Goodbye!
sender: Identity_1,
sent: 1718487794937841,
text: Goodbye!
}
}
},
FinalSnapshot: {
User: [
{
Identity: Identity_1,
Name: A,
Online: true
identity: Identity_1,
name: A,
online: true
},
{
Identity: Identity_2,
Online: true
identity: Identity_2,
online: true
},
{
Identity: Identity_3,
Name: B,
Online: false
identity: Identity_3,
name: B,
online: false
}
],
Message: [
{
Sender: Identity_3,
Sent: 1718487775346381,
Text: Hello, A!
sender: Identity_3,
sent: 1718487775346381,
text: Hello, A!
},
{
Sender: Identity_1,
Sent: 1718487783175083,
Text: Hello, B!
sender: Identity_1,
sent: 1718487783175083,
text: Hello, B!
},
{
Sender: Identity_3,
Sent: 1718487787645364,
Text: Goodbye!
sender: Identity_3,
sent: 1718487787645364,
text: Goodbye!
},
{
Sender: Identity_1,
Sent: 1718487794937841,
Text: Goodbye!
sender: Identity_1,
sent: 1718487794937841,
text: Goodbye!
}
]
},
Expand Down
Loading
Loading