DROP TABLE: Can we classify it as hint instead as error? #365
Closed
Donnerstagnacht
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
@psteinroe is currently working on annotations, so we'll soon have a way to |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
If I write a drop table statement, it is technically correct code:
But it creates the following error:
I was wondering if this could/should be a hint or a warning instead of an error since this statement may be intended and therefore correct.
Another option would be to provide an override option like in python or typescript for types:
python: # type: ignore typescript: // @ts-ignore // @ts-expect-error
Or is this an intended behavior? If so, why?
Beta Was this translation helpful? Give feedback.
All reactions