Skip to content

Commit

Permalink
refactor(reformat): completely separate relation additions from AST r…
Browse files Browse the repository at this point in the history
…eformatting

That way we can do pure AST reformatting if we want, and reuse the logic
for relation and relation scalar field additions in code actions. As a
side-effect, that makes the formatter idempotent.

There will be a follow-up PR to split the two functionalities in two
different modules, but I stopped here for readability in this PR.

closes prisma/prisma#12726
  • Loading branch information
tomhoule committed Jun 29, 2022
1 parent 46cd7ed commit edf1508
Show file tree
Hide file tree
Showing 7 changed files with 272 additions and 427 deletions.

0 comments on commit edf1508

Please sign in to comment.