Open jeswr opened 3 months ago
Rather than all literals being converted to strings it would be nice to have numeric types go to numbers, dateTimes go to Dates and so forth.
numbers
dateTime
Date
You should be able to largely use https://www.npmjs.com/package/rdf-literal or re-use https://github.com/LDflex/LDflex/blob/3379cb7059dccdfb41de804a2e0db338e974cc3a/src/valueUtils.js to achieve this.
Edit I've noticed that you have this in some cases, added support for dates would be excellent
Rather than all literals being converted to strings it would be nice to have numeric types go to
numbers
,dateTime
s go toDate
s and so forth.You should be able to largely use https://www.npmjs.com/package/rdf-literal or re-use https://github.com/LDflex/LDflex/blob/3379cb7059dccdfb41de804a2e0db338e974cc3a/src/valueUtils.js to achieve this.
Edit I've noticed that you have this in some cases, added support for dates would be excellent