-
-
Notifications
You must be signed in to change notification settings - Fork 83
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
When we make the Controller or Finalizer partial (to put code in different files), they are registered multiple times in those generated ControllerRegistrations.g.cs and Finalize registrations.g.cs
It doesn't even compile when we do it for finalizers because those FinalizerIdentifiers constants are generated multiple times
To reproduce
Create two files
public partial class Something: IEntityFinalizer<SomeCR>
{
//... Implement the interface
}
public partial class Something {}
And compile. Compilation will fail because of the multiple declarations of the same constant
Expected behavior
Compilation works and no duplicated registrations
Screenshots
Additional Context
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
