-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Open
Labels
VSCode Extensionhttps://marketplace.visualstudio.com/items?itemName=GoogleCloudTools.firebase-dataconnect-vscodehttps://marketplace.visualstudio.com/items?itemName=GoogleCloudTools.firebase-dataconnect-vscodetype: bug
Description
[REQUIRED] Environment info
VS Code version of the plugin is 1.8.0...but the error is also on the 1.9.0
firebase-tools: 14.20.0
Platform: macOS
[REQUIRED] Test case
Create a Query with a check on variable input like this:
query GetInvitation($email: String!, $invitationId: UUID!) @auth(level: PUBLIC, insecureReason: "Need to check prior being loggedIn"){
invitation(key: {
id: $invitationId
}){
id,
email @check(expr: "this == email", message: "[502] : Invitation does not match")
}
}
[REQUIRED] Steps to reproduce
Tr to execute the query using the Data connect execution and you will get an error.
This is not true, because we are using it in the @check
[REQUIRED] Expected behavior
No Error :-)
[REQUIRED] Actual behavior
Metadata
Metadata
Assignees
Labels
VSCode Extensionhttps://marketplace.visualstudio.com/items?itemName=GoogleCloudTools.firebase-dataconnect-vscodehttps://marketplace.visualstudio.com/items?itemName=GoogleCloudTools.firebase-dataconnect-vscodetype: bug