Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: optional record links not shown in designer #686

Open
2 tasks done
ThatOneCalculator opened this issue Feb 17, 2025 · 0 comments
Open
2 tasks done

Bug: optional record links not shown in designer #686

ThatOneCalculator opened this issue Feb 17, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@ThatOneCalculator
Copy link

ThatOneCalculator commented Feb 17, 2025

Describe the bug

Optional record links between two tables are not reflected in the designer. It's a bit confusing to not have them connected, maybe it could be a dotted line instead of a dashed one?

Steps to reproduce

Optional (not connected)

DEFINE TABLE foo;
DEFINE TABLE bar;

DEFINE FIELD alpha ON foo TYPE string;
DEFINE FIELD beta ON bar TYPE option<record<foo>>;

Image

Not optional (connected)

DEFINE TABLE foo;
DEFINE TABLE bar;

DEFINE FIELD alpha ON foo TYPE string;
DEFINE FIELD beta ON bar TYPE record<foo>;

Image

Surrealist Environment

Platform: Desktop
OS: linux
Architecture: x86_64
WebView: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.1 Safari/605.1.15
Version: 3.2.2
Flags: feature_flags: false, query_view: true, explorer_view: true, graphql_view: true, designer_view: true, auth_view: true, functions_view: true, models_view: true, sidekick_view: true, apidocs_view: true, themes: true, syntax_themes: false, newsfeed: true, database_version_check: true, highlight_tool: false, legacy_serve: false, cloud_enabled: true, cloud_endpoints: production, cloud_access: true, cloud_killswitch: true, changelog: auto, sidebar_customization: false

Contact Details

[email protected]

Is there an existing issue for this?

  • I have searched the existing issues

Code of Conduct

  • I agree to follow this project's Code of Conduct
@ThatOneCalculator ThatOneCalculator added bug Something isn't working triage This issue is new labels Feb 17, 2025
@macjuul macjuul removed the triage This issue is new label Feb 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants