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
```
This commit is contained in:
Thiago Lewin 2018-12-31 00:38:17 +01:00
parent ceac686fd2
commit 97609cdb45

View file

@ -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))))