Skip to content

Commit

Permalink
Merge pull request #107 from LostKobrakai/LostKobrakai-patch-1
Browse files Browse the repository at this point in the history
Add macro to be able to extract records from elixir
  • Loading branch information
mikpe authored Jun 23, 2021
2 parents c55e552 + 4e19329 commit 617aa61
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
* 2.9.4
- Dropped `?MODULE` from required error in erlavro.hrl to allow elixir to extract record details
* 2.9.3
- Add OCF decoder hook
- Dialyzer fixes
Expand Down
2 changes: 1 addition & 1 deletion include/erlavro.hrl
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
N =:= ?AVRO_DOUBLE orelse
N =:= ?AVRO_BYTES)).

-define(AVRO_REQUIRED, erlang:error({required_field_missed, ?MODULE, ?LINE})).
-define(AVRO_REQUIRED, erlang:error({required_field_missed, ?LINE})).

-define(AVRO_NS_GLOBAL, <<"">>).
-define(AVRO_NO_DOC, <<"">>).
Expand Down

0 comments on commit 617aa61

Please sign in to comment.