Fork me on GitHub
#yada
<
2017-11-09
>
chrisblom09:11:22

there is no bidi channel but i figured you yada experts might know: is there a way possible to enumerate all paths, given a bidi route definition?

malcolmsparks09:11:41

Yes. bidi.bidi/route-seq

chrisblom09:11:08

exactly what i need, thanks!

stijn14:11:28

is there a way of making yada accept "application/json; charset=utf-8"?

stijn14:11:02

I know it is a problem on the client, but the workaround for React Native on Android especially with expo.js is kind of involved

tanzoniteblack19:11:30

@stijn if your goal is to make a call like curl -X GET --header 'Accept: application/json; charset=utf-8' '' work, and you are able to currently have one like curl -X GET --header 'Accept: application/json' '' work successfully, you can just add "application/json; charset=utf-8" to the :produces set of your resource

tanzoniteblack19:11:19

there might be a better way to do it...but that definitely works for me, at least

tanzoniteblack19:11:32

(and still has the result return JSON, encoded in utf-8)