portal

hanDerPeder 2024-01-16T13:36:51.349109Z

wondering if this is a bug or my setup is broken

(defn type-printer [x]
  (prn x '=> (type x)))
(add-tap type-printer)

(tap> 1.0)
shows double in repl
1.0 => java.lang.Double
but shows up as java.lang.Long in portal (0.51.1)

hanDerPeder 2024-01-16T13:38:16.365319Z

(tap> 1.1) shows Double as expected

djblue 2024-01-16T18:05:53.042869Z

This might be related to how json handles numbers 🤔

djblue 2024-01-16T18:06:33.725239Z

I'll add a note to https://github.com/djblue/portal/blob/master/doc/limitations.md

hanDerPeder 2024-01-16T18:07:11.240899Z

👍

Adam Helins 2024-01-16T18:07:08.266529Z

Has someone written a namespace explorer? E.g. Using datafy / nav to crawl through namespaces, vars, and values

djblue 2024-01-16T18:09:21.922059Z

I haven't seen anything

💡 1
seancorfield 2024-01-16T18:34:25.315079Z

I use Stuart Halloway's reflector library for some of that: https://github.com/stuarthalloway/reflector

🙏 1