From 064570c214215d95f64d6959581cc32e7da6bc31 Mon Sep 17 00:00:00 2001 From: Parker Selbert Date: Sat, 4 Jan 2025 09:46:36 +0000 Subject: [PATCH] Add missing JSON aliases for delegation --- lib/oban/telemetry.ex | 2 ++ lib/oban/testing.ex | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/oban/telemetry.ex b/lib/oban/telemetry.ex index 38a2c814..360b40d4 100644 --- a/lib/oban/telemetry.ex +++ b/lib/oban/telemetry.ex @@ -295,6 +295,8 @@ defmodule Oban.Telemetry do """ @moduledoc since: "0.4.0" + alias Oban.JSON + require Logger @typedoc """ diff --git a/lib/oban/testing.ex b/lib/oban/testing.ex index c58f82fc..df3f2880 100644 --- a/lib/oban/testing.ex +++ b/lib/oban/testing.ex @@ -101,7 +101,7 @@ defmodule Oban.Testing do alias Ecto.Changeset - alias Oban.{Config, Job, Queue.Executor, Repo, Worker} + alias Oban.{Config, Job, JSON, Queue.Executor, Repo, Worker} @type perform_opts :: Job.option() | Oban.option()