Fork me on GitHub
#yada
<
2016-04-01
>
maleghast07:04:04

Anyone using Juxt/edge to try out Yada..?

maleghast07:04:59

I am experiencing some weirdness that I don’t seem to be able to solve myself, but basically the instructions say to run boot dev and then browse to localhost:3000, but when I do there’s no server there

pastafari08:04:15

I’m trying to setup a very basic JSON api, but run into No implementation for render-map for media-type: null {:representation nil} when my response fn returns a plain map.

pastafari08:04:28

I’ve been digging around in the docs, but they seem to be WIP!

pastafari08:04:54

This is what my resource looks like:

pastafari08:04:58

:post {:consumes ["application/json"]
                              :produces ["application/json"]
                              :response create-project!

pastafari08:04:03

also, create-project! is a no-op and returns a map {:name “foo” :description “bar”}

dominicm13:04:44

@maleghast: You need to connect to the repl, and start the server first.

dominicm13:04:03

Fairly standard reloaded workflow. Let me know if you need a hand with it! simple_smile