planetscale / planetscale/database-js

Ability to easily switch branches for local development

Open
#110 2 comments 21 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
1.2k
Forks
42
PR merge metrics
No merged PRs in 30d

Description

Currently, database.js is not compatible with pscale connect because they are entirely different protocols (http vs mysql).

One pain point when using database.js for local development is quickly switching branches. Ideally, we'd find a solution where developers do not have to create & copy/paste connection strings into their code to swap branches.

Opening this issue so that: 1. People find it when googling. 2. to track the discussion in one place.

Other context:

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading database.js alongside the linked PlanetScale discussion and issues about branch switching and pscale connect. The issue needs a concrete design before implementation; done would let local developers switch branches without creating and copying connection strings into their code.

Written by the indexing model from the issue text.

Assessment

Tech stack
mysql, typescript
Domain
databases
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.