Skip to content

Commit

Permalink
Add missing JSON aliases for delegation
Browse files Browse the repository at this point in the history
  • Loading branch information
sorentwo committed Jan 4, 2025
1 parent 7113cfb commit deefec0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions lib/oban/telemetry.ex
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,8 @@ defmodule Oban.Telemetry do

require Logger

alias Oban.JSON

@typedoc """
The types of telemetry events, essentially the second element of each event list. For example,
in the event `[:oban, :job, :start]`, the "type" is `:job`.
Expand Down
2 changes: 1 addition & 1 deletion lib/oban/testing.ex
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down

0 comments on commit deefec0

Please sign in to comment.