Skip to content
Merged
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
4 changes: 4 additions & 0 deletions firebase-vscode/src/data-connect/core-compiler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,10 @@ function convertGQLErrorToDiagnostic(
const perFileDiagnostics: Record<string, Diagnostic[]> = {};
const dcPath = configs.values[0].path;
for (const error of gqlErrors) {
if (error.message.includes("INSECURE")) {
// Don't surface insecure operation issues for now; we need to be able to compare with a deployed source for these to be accurately presented.
continue;
}
const absFilePath = `${dcPath}/${error.extensions["file"]}`;
const perFileDiagnostic = perFileDiagnostics[absFilePath] || [];
perFileDiagnostic.push({
Expand Down
Loading