Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/avrora/codec/object_container_file.ex
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ defmodule Avrora.Codec.ObjectContainerFile do

@impl true
def decode(payload, schema: _schema) when is_binary(payload) do
Logger.warning("message already contains embeded schema, given schema will be ignored")
Logger.warning("message already contains embedded schema, given schema will be ignored")
decode(payload)
end

Expand Down
2 changes: 1 addition & 1 deletion test/avrora/codec/object_container_file_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ defmodule Avrora.Codec.ObjectContainerFileTest do
assert decoded == [%{"id" => "00000000-0000-0000-0000-000000000000", "amount" => 15.99}]
end)

assert output =~ "message already contains embeded schema, given schema will be ignored"
assert output =~ "message already contains embedded schema, given schema will be ignored"
end
end

Expand Down
2 changes: 1 addition & 1 deletion test/avrora/encoder_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ defmodule Avrora.EncoderTest do
assert decoded == [%{"id" => "00000000-0000-0000-0000-000000000000", "amount" => 15.99}]
end)

assert output =~ "message already contains embeded schema, given schema will be ignored"
assert output =~ "message already contains embedded schema, given schema will be ignored"
end

test "when payload contains type references it resolves them and generates new schema" do
Expand Down
Loading