Need clarification: Marten keeps regenerating code already generated when using TypeLoadMode.Auto #2908
Replies: 2 comments 2 replies
-
|
@natalie-o-perret See the output about where it's putting the generated code. You're in "not nearly as commonly used" F# world where the project rules are a bit different, and Marten isn't putting the generated code in your actual project. W/ F# you'll need to have a separate C# project to hold the pre-generated code, and do some handholding for Marten to tell it where to put that generated code and where the "application assembly" is w/ the expected generated code. Definitely an are where we could be better with docs and/or a sample project setup:( |
Beta Was this translation helpful? Give feedback.
-
|
There's a related issue in Wolverine: JasperFx/wolverine#676 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
🙋♀️ Hey there,
Probably a misunderstanding, or maybe my expectations on me end aren't quite right, but this relates to this:
https://mastodon.social/@[email protected]/111758904050503603
I've checked the documentation a couple of times:
and my issue is that in the case of an "
IEventdocument" aka themt_eventstable, even once the process has already created the generated code at runtime, it keeps recreating it (in the same process runtime).Note: I created this "repro"
Beta Was this translation helpful? Give feedback.
All reactions