* Incremental work on WorkflowStateSerializer * Update Flow HTTP Request activity to default to Done outcome * Fix reference handling * Fix polymorphic object converter * Add comments * Add support for registering type alias during DI setup via options * Fix trigger and bookmark payload persistence * Update sample model * Add support for custom dictionary types * Split general serializer options provider into focused serializer services * Formatting * Update migrations
16 lines
385 B
C#
16 lines
385 B
C#
using System.Text.Json.Serialization;
|
|
|
|
namespace Elsa.WorkflowServer.Web;
|
|
|
|
public record ApiResponse<T>(T Data, Support Support);
|
|
|
|
public record Support(string Url, string Text);
|
|
|
|
public record User(
|
|
int Id,
|
|
[property: JsonPropertyName("first_name")]
|
|
string FirstName,
|
|
[property: JsonPropertyName("last_name")]
|
|
string LastName,
|
|
string Email,
|
|
string Avatar); |