Skip to content

Commit

Permalink
Fix issue #93 return correct datatype-uri for Longs
Browse files Browse the repository at this point in the history
  • Loading branch information
RickMoynihan committed Jun 3, 2020
1 parent 7c1f618 commit 22804eb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion project.clj
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
[org.eclipse.rdf4j/rdf4j-repository-manager "3.0.3"]

[grafter/url "0.2.5"]
[grafter/vocabularies "0.3.4"]
[grafter/vocabularies "0.3.5"]
[me.raynes/fs "1.4.6"]
[potemkin "0.4.5"]]

Expand Down
5 changes: 3 additions & 2 deletions src/grafter_2/rdf/protocols.cljc
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
xsd:decimal xsd:double
xsd:float xsd:float
xsd:integer xsd:short
xsd:string xsd:time]]
xsd:string xsd:time
xsd:long]]
#?@(:clj [[grafter.url :refer [->java-uri]]]))
#?(:clj (:import [java.net URI]
[java.time LocalTime LocalDate LocalDateTime OffsetTime OffsetDateTime]
Expand Down Expand Up @@ -351,7 +352,7 @@

Long
(datatype-uri [t]
(->java-uri xsd:integer))
(->java-uri xsd:long))

Short
(datatype-uri [t]
Expand Down

0 comments on commit 22804eb

Please sign in to comment.