From 97609cdb450bfb6e385ce6324c7936b6fe9da039 Mon Sep 17 00:00:00 2001 From: Thiago Lewin Date: Mon, 31 Dec 2018 00:38:17 +0100 Subject: [PATCH] Fix a typo in the Extensibility section The current version doesn't work and returns a non-obvious error message: ``` interface honeysql.format.ToSql is not a protocol ``` --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ea5a45b..b9fd42d 100644 --- a/README.md +++ b/README.md @@ -461,7 +461,7 @@ To teach `honeysql` how to handle your datatype you need to implement [`honeysql ;; results in => "where :some_column > ()" ;; we can teach honeysql about it: -(extend-protocol honeysql.format.ToSql +(extend-protocol honeysql.format/ToSql MyDateWrapper (to-sql [v] (to-sql (date/to-sql-timestamp v))))