-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Show recipe error instead if throwing an exeption
- Loading branch information
1 parent
77c69c6
commit 814f4f6
Showing
11 changed files
with
199 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 16 additions & 10 deletions
26
src/OrchardCore/OrchardCore.Recipes.Abstractions/Models/RecipeExecutionContext.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,21 @@ | ||
using System.Collections.Generic; | ||
using System.Text.Json.Nodes; | ||
|
||
namespace OrchardCore.Recipes.Models | ||
namespace OrchardCore.Recipes.Models; | ||
|
||
public class RecipeExecutionContext | ||
{ | ||
public class RecipeExecutionContext | ||
{ | ||
public string ExecutionId { get; set; } | ||
public object Environment { get; set; } | ||
public string Name { get; set; } | ||
public JsonObject Step { get; set; } | ||
public RecipeDescriptor RecipeDescriptor { get; set; } | ||
public IEnumerable<RecipeDescriptor> InnerRecipes { get; set; } | ||
} | ||
public string ExecutionId { get; set; } | ||
|
||
public object Environment { get; set; } | ||
|
||
public string Name { get; set; } | ||
|
||
public JsonObject Step { get; set; } | ||
|
||
public RecipeDescriptor RecipeDescriptor { get; set; } | ||
|
||
public IEnumerable<RecipeDescriptor> InnerRecipes { get; set; } | ||
|
||
public IList<string> Errors { get; } = []; | ||
} |
Oops, something went wrong.