Skip to content

Commit b164139

Browse files
authored
dataconnect: demo: upgrade firebase-tools to v13.28.0 (#6577)
1 parent a0ec544 commit b164139

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

.github/workflows/dataconnect_demo_app.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ on:
1717

1818
env:
1919
FDC_NODE_VERSION: ${{ inputs.nodeVersion || '20' }}
20-
FDC_FIREBASE_TOOLS_VERSION: ${{ inputs.firebaseToolsVersion || '13.25.0' }}
20+
FDC_FIREBASE_TOOLS_VERSION: ${{ inputs.firebaseToolsVersion || '13.28.0' }}
2121
FDC_JAVA_VERSION: ${{ inputs.javaVersion || '17' }}
2222
FDC_FIREBASE_TOOLS_DIR: ${{ github.workspace }}/firebase-tools
2323
FDC_FIREBASE_COMMAND: ${{ github.workspace }}/firebase-tools/node_modules/.bin/firebase

firebase-dataconnect/demo/firebase/dataconnect/connector/operations.gql

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,3 +48,17 @@ query GetItemByKey(
4848
any
4949
}
5050
}
51+
52+
# This mutation exists only as a workaround for b/382688278 where the following
53+
# compiler error will otherwise result when compiling the generated code:
54+
# Serializer has not been found for type 'java.util.UUID'. To use context
55+
# serializer as fallback, explicitly annotate type or property with @Contextual
56+
# This bug first appeared in v1.7.1 of the Data Connect Toolkit CLI, which
57+
# started to be used in firebase-tools v13.26.0
58+
# (https://github.com/firebase/firebase-tools/releases/tag/v13.26.0).
59+
# This mutation can be removed from this file once the fix is released, which will
60+
# likely be version 1.7.4 of the Data Connect Toolkit CLI (v13.28.1 of firebase-
61+
# tools).
62+
mutation WorkaroundForBug382688278( $id: UUID!) {
63+
zwda6x9zyy_insert(data: { id: $id })
64+
}

0 commit comments

Comments
 (0)