You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The type for the has_url is actually completely empty (empty string) 🤔 Haven't seen this one before.
To Reproduce
Steps to reproduce the behavior:
// 💥 Query has incorrect type annotation.// Expected: { has_url: boolean; }// Actual: { has_url: ; }[]awaitsql<{has_url: boolean}[]>` SELECT CASE WHEN TRUE THEN personal_intro_url_private IS NOT NULL ELSE tech_achievements_url_private IS NOT NULL END AS has_url FROM users`;
Expected behavior
has_url receives a boolean type, as SafeQL did before the versions released for literal inference:
Describe the bug
The type for the
has_url
is actually completely empty (empty string) 🤔 Haven't seen this one before.To Reproduce
Steps to reproduce the behavior:
Expected behavior
has_url
receives aboolean
type, as SafeQL did before the versions released for literal inference:Screenshots
--
Desktop (please complete the following information):
Additional context
Problem seems to have been introduced in the versions released for literal inference:
The text was updated successfully, but these errors were encountered: