DapperLib / DapperLib/DapperAOT

Generator: major refactor (do not store semantic model)

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

Nobody has claimed this yet.

enhancement
Dominant language
C#
Stars
472
Forks
43
Avg merge
1d 4h
Merged PRs (30d)
18

Description

The incremental generator is stashing parts of the semantic model; it must not - we should create custom types (struct records? value tuples? must have equality support) and fully expand everything during parse, so we never store anything except our own data

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 tracing the incremental generator's use of the semantic model and identify what state it retains between runs. Design custom types with equality support that fully expand the needed information during parsing; done means the generator stores only its own data and no semantic model parts.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
build-system, devtools
Issue type
Refactor
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.