graphql

2019-08-29T22:02:54.005300Z

in lacinia the changelog entry for the scalar breaking change in 0.33.0 mentions the possibility of overriding the behavior for scalars if you want the old behavior back, but doesn't give an example of how to do this, does anyone have an example or any pointers of where to look?

2019-08-29T22:05:24.005600Z

ah, found the custom scalars sections in the docs

2019-08-29T22:23:46.006100Z

bah, trying to attach scalar transforms like the docs seem to show gives spec errors

2019-08-29T22:34:40.007Z

it looks like the docs are maybe outdated, they show parse and serialize as functions, but it looks like the spec is expecting something that returns true for spec?

2019-08-29T22:35:39.007500Z

the error message doesn't include the namespace spec? is coming from

2019-08-29T22:35:54.007700Z

I tell a lie, it does clojure.spec.alpha/spec?

2019-08-29T22:40:25.008200Z

ah, I just haven't pulled my own master so am still depending on the old version of lacinia