Add db connection meta data to the exported Composer graph

Open
#337 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
42/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
typescript
Domain
backend

Research direction

Start by locating the code that exports the Composer graph and trace how database connections are represented in the Composer model. The issue does not name files, tests, or the metadata shape, so first clarify what connection details should be exported and how the Topology map consumes them. Done means the exported graph exposes the agreed database connection metadata for display in the map.

Written by the indexing model from the issue text.

Description

enhancement
What problem are you trying to solve?

Context: I asked my agent if a PR we are about to merge could cause trouble for Console. It replied that the only danger is that our new service opens a pool of 5 connections to the existing database. That is indeed real danger, and it would be cool to be able to show that in the Topology map.

Image
Proposed solution

Add db connection meta data to the exported Composer graph

Alternatives considered

No response

Scope and impact

No response

Dominant language
TypeScript
Stars
6
Forks
2
Avg merge
1d 2h
Merged PRs (30d)
33

Getting set up

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.

More from prisma/composer

All issues in prisma/composer

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.