surrealdb / surrealist

Surrealist is the ultimate way to visually manage your SurrealDB database
https://surrealist.app/
MIT License
1.04k stars 74 forks source link

Record explorer filter clause throws errors when parsing #253

Closed JordanDi123 closed 2 months ago

JordanDi123 commented 2 months ago

Describe the bug When writing a filter, errors are thrown to console. See GIF below: explorer_ANcpF81xcT

To Reproduce Steps to reproduce the behavior:

  1. Go to Explorer
  2. Open DevTools console
  3. Click Filter Records
  4. Begin typing in a filter
  5. Errors should start to appear

Expected behavior Errors should not be unexpectedly thrown.

Environment:

Platform: Desktop
OS: Windows_NT
Architecture: x86_64
WebView: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36 Edg/124.0.0.0
Version: 2.0.5
Flags: featureFlags: true, models_view: true, apidocs_view: true, themes: false, newsfeed: true