CANONICAL TYPE REFERENCE
EdgeAppSourceDiagnostic
A single type-check diagnostic on a edgeApp script
Which kind of script this diagnostic refers to
scriptNameString!Handler name, library name, or 'onMessage' depending on scriptKind
lineInt!1-based line number in the script source
columnInt!1-based column number
ERROR or WARNING
messageString!Diagnostic message from the Lua type checker
codeStringChecker error code, when available
View exact SDL
"""A single type-check diagnostic on a edgeApp script"""
type EdgeAppSourceDiagnostic {
"""Which kind of script this diagnostic refers to"""
scriptKind: EdgeAppSourceScriptKind!
"""Handler name, library name, or 'onMessage' depending on scriptKind"""
scriptName: String!
"""1-based line number in the script source"""
line: Int!
"""1-based column number"""
column: Int!
"""ERROR or WARNING"""
severity: EdgeAppSourceDiagnosticSeverity!
"""Diagnostic message from the Lua type checker"""
message: String!
"""Checker error code, when available"""
code: String
}One stable address across all schema views. Follow a field’s type to explore connections between domains.