prisma / prisma/orm

Expose the Prisma AST with position information

Open
#2,199 10 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

kind/feature topic: sdk
Dominant language
TypeScript
Stars
47.6k
Forks
2.5k
Avg merge
21h 59m
Merged PRs (30d)
95

Description

Motivation:

  • I'm also not sure how @carmenberndt will implement "Jump to Definition" without positional information. Update @carmenberndt was able to workaround this issue.
  • For @matthewmueller's work on P1 => P2 upgrade it would be very helpful, though I'll probably be able to hack together some regexps to workaround this.
  • I believe @pantharshit00 would like this for his vim Prisma 2 plugin

More context on the difficulties of doing this in Private Slack: https://prisma-company.slack.com/archives/C4GCG53BP/p1586963895241300

Contributor guide

Open the contributing guide

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

The issue names no files, tests, or entry points. Start by locating the Prisma AST implementation and the existing exposure path, then clarify the positional-information format and consumers; done means the AST is publicly exposed with positions sufficient for editor integrations and upgrade tooling.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
developer-experience, tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.