-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Open
Labels
emulator: dataconnectIssues related to the dataconnect emulatorIssues related to the dataconnect emulatortype: bug
Description
[REQUIRED] Environment info
Firebase Dataconnect VS Code extension + TypeScript
firebase --version
14.17.0
firebase-tools: dataconnect emulator
Platform: macOS
[REQUIRED] Test case
I am having trouble with queries from VS Code when I add enum to the schema.
When I create a diagram based on documentation https://firebase.google.com/codelabs/firebase-dataconnect-web?hl=pl#3 everything works fine, I can read/edit data using the plugin.
[REQUIRED] Steps to reproduce
As soon as I add the calculation, the plugin stops working.
For example, it will modify Movie based on documentation. https://firebase.google.com/docs/data-connect/schemas-guide?hl=pl
enum AspectRatio {
ACADEMY
WIDESCREEN
ANAMORPHIC
IMAX
"No information available on aspect ratio"
UNAVAILABLE
}
type Movie
@table {
title: String!
genre: String
description: String
originalAspectRatio: AspectRatio! @default(value: WIDESCREEN)
otherAspectRatios: [AspectRatio!]
tags: [String]
rating: Float
imageUrl: String!
releaseYear: Int
}
[REQUIRED] Expected behavior
I can query with this extension to dataconnect
[REQUIRED] Actual behavior
Metadata
Metadata
Assignees
Labels
emulator: dataconnectIssues related to the dataconnect emulatorIssues related to the dataconnect emulatortype: bug