Skip to content

C#: .NET 11 Models as Data models. - #23365

Draft
michaelnebel wants to merge 3 commits into
github:mainfrom
michaelnebel:michaelnebel/net11madlibsonly
Draft

michaelnebel wants to merge 3 commits into
github:mainfrom
michaelnebel:michaelnebel/net11madlibsonly

Conversation

@michaelnebel

@michaelnebel michaelnebel commented Dec 4, 2026 •

Copy link
Copy Markdown
Contributor

In this PR we re-generate the .NET runtime models. Note, that this time there is a change in the database used to create the models. Previosly, we have have built mono+libs, but this time we have only built libs (as the mono target has been removed).

Furthermore, it turns out that we found another idempotency issue (which I don't think, we should invest in solving). I discussed it with CoPilot and it can happen in the following way:

  1. The library being modelled declares, in source, an interface or virtual method that gets a generated model applying to subtypes.
  2. A binary dependency of that same database implements or overrides that declaration.
  3. Source code in the database calls that binary implementation.

This means that when re-generating models we can get "more flow" leading to more models.

michaelnebel and others added 3 commits December 4, 2026 15:48

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant