Skip to content

Commit b367415

Browse files
committed
fix: add exception to dialyzer
1 parent e082a1b commit b367415

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/realtime_web/channels/realtime_channel/broadcast_handler.ex

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,9 @@ defmodule RealtimeWeb.RealtimeChannel.BroadcastHandler do
125125
end
126126
end
127127

128+
# No idea why Dialyzer is complaining here
129+
@dialyzer {:nowarn_function, build_broadcast: 2}
130+
128131
# Message payload was built by V2 Serializer which was originally UserBroadcastPush
129132
defp build_broadcast(topic, {user_event, user_payload_encoding, user_payload}) do
130133
%RealtimeWeb.Socket.UserBroadcast{

0 commit comments

Comments
 (0)