geldata / geldata/gel-cli

Default database probably shouldn't be set

Open
#1,308 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
175
Forks
32
PR merge metrics
No merged PRs in 30d

Description

Right now, there is default `edgedb` (or `main`, idk) databse when performing operations. I believe it's better not to set default database, as running any operation without specifing database directly can produce confusing query error / unwanted result. Users rarely need to do any operations on internal database.

Contributor guide

No contributing guide indexed for this repository

Research direction

No files or tests are named. Start by tracing how the CLI chooses a database when one is not supplied, then determine whether the internal database is selected by default. Done means operations without an explicit database no longer silently target that internal database and their resulting behavior is clear.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
cli, databases
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.