surrealdb / surrealist

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

Surrealist broken by specific Field Type #173

Closed Autumnlight02 closed 7 months ago

Autumnlight02 commented 7 months ago

Describe the bug This specific field type breaks surrealist.

To Reproduce Steps to reproduce the behavior:

  1. Create a new surrealdb etc..
  2. run
    DEFINE FIELD owner_document ON TABLE Perms TYPE record;
  3. press on reload or reload the page. It cannot fetch the tables anymore.

Expected behavior it works

Environment (you can view the current version under Settings):

EDIT: works fine if using: TYPE record TODO: Fix at surrealist side, to see record; as record<string, number>

macjuul commented 7 months ago

Duplicate of https://github.com/StarlaneStudios/Surrealist/issues/169