Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
TylerWitt committed Jan 10, 2025
1 parent 6fb20f8 commit 0c729db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/ecto/json.ex
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ if Code.ensure_loaded?(JSON.Encoder) do
defmodule #{inspect(owner)} do
# ...
@derive {Jason.Encoder, only: [:name, :title, ...]}
@derive {JSON.Encoder, only: [:name, :title, ...]}
schema ... do
You can also use the :except option instead of :only if you would \
Expand All @@ -86,7 +86,7 @@ if Code.ensure_loaded?(JSON.Encoder) do
defmodule #{inspect(schema)} do
# ...
@derive {Jason.Encoder, only: [:name, :title, ...]}
@derive {JSON.Encoder, only: [:name, :title, ...]}
schema ... do
You can also use the :except option instead of :only if you would \
Expand Down

0 comments on commit 0c729db

Please sign in to comment.