Skip to content

Conversation

@Rick-Anderson
Copy link
Contributor

@Rick-Anderson Rick-Anderson commented Dec 9, 2024

Comment on lines 5 to 9
if (Assembly.GetEntryAssembly()?.GetName().Name != "GetDocument.Insider")
{
// 'IServiceCollection' does not contain a definition for 'AddDefaults'
// builder.Services.AddDefaults();
}
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mikekistler AddDefaults doesn't compile. Can you explain the naming conventions?
I don't understand how this code restricts code paths. I'd like the sample to restrict a config and a DB code path. I can add DB init code.

Copy link
Contributor

@tdykstra tdykstra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, just some nit suggestions.

})
.WithName("TestKey");

app.Run();
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mikekistler please approve this code or suggest changes. Once you approve, I'll remove all the other project files.

@Rick-Anderson Rick-Anderson enabled auto-merge (squash) December 12, 2024 00:25
@Rick-Anderson Rick-Anderson merged commit be0dc41 into main Dec 12, 2024
3 checks passed
@Rick-Anderson Rick-Anderson deleted the aot-trim-ra/1 branch December 12, 2024 00:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

4 participants