Skip to content

Commit

Permalink
Protobuf takes a map, not a naming strategy.
Browse files Browse the repository at this point in the history
As pointed out in ninjudd#45.
  • Loading branch information
amalloy authored and oubiwann committed Jul 4, 2018
1 parent b14e64f commit 52787eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/flatland/protobuf/core.clj
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
([def]
(if (or (protodef? def) (nil? def))
def
(protodef def PersistentProtocolBufferMap$Def/convertUnderscores)))
(protodef def {})))
([def opts]
(when def
(let [{:keys [^PersistentProtocolBufferMap$Def$NamingStrategy naming-strategy
Expand Down

0 comments on commit 52787eb

Please sign in to comment.