Skip to content

Commit

Permalink
Not requiring any validation of the connection string in the codegen …
Browse files Browse the repository at this point in the history
…commands. Closes GH-3421
  • Loading branch information
jeremydmiller committed Sep 24, 2024
1 parent bf506d9 commit b2615a5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/AspNetCoreWithMarten/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
#endregion


await app.RunOaktonCommands(args);
return await app.RunOaktonCommands(args);


record CreateUserRequest(string FirstName, string LastName, bool Internal);
Expand Down
2 changes: 1 addition & 1 deletion src/Marten/StoreOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -686,7 +686,7 @@ internal void applyPostPolicies(DocumentMapping mapping)
/// </summary>
internal void Validate()
{
if (Tenancy == null)
if (_tenancy == null)
{
throw new InvalidOperationException(
"Tenancy not specified - provide either connection string or connection factory through Connection(..)");
Expand Down

0 comments on commit b2615a5

Please sign in to comment.