add type specs and fix id issues
Some checks failed
Build and Publish / build-release (push) Failing after 37s
Some checks failed
Build and Publish / build-release (push) Failing after 37s
This commit is contained in:
@@ -4,6 +4,12 @@ defmodule WorkloadService.Aggregates.TaskId do
|
||||
ID format: "org_id:type:task_id" (e.g., "test:quote:uuid")
|
||||
"""
|
||||
|
||||
@type t :: %__MODULE__{
|
||||
org_id: String.t(),
|
||||
type: String.t(),
|
||||
task_id: String.t()
|
||||
}
|
||||
|
||||
@derive Jason.Encoder
|
||||
defstruct [:org_id, :type, :task_id]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user