Skip to content

Add runtime check to $queryRaw("...") to throw for JS calls #8808

Closed

Description

@matthewmueller

Right now there's a type error for $queryRaw("...") in Typescript, but nothing stopping people from using the function form in Javascript. We should throw a runtime error instructing people to use either the tagged template or $queryRawUnsafe.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions