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 #45.
  • Loading branch information
amalloy committed Apr 25, 2013
1 parent 9504223 commit 2d2eb1a
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 2d2eb1a

Please sign in to comment.