r0man / cljs-http

A ClojureScript HTTP library.
582 stars 93 forks source link

Response body flattens `schema` object #119

Closed yilazius closed 6 years ago

yilazius commented 6 years ago

I've got a HTTP endpoint which returns a body like:

{
  "data": {
    "name":"test",
     "schema": {
        "title":"my-title"      
     }
  }
}

for some reason cljs-http is removing the schema object and flattening in its content into the parent container.

{:data {:name "test" :title "my-title"}}
yilazius commented 6 years ago

never-mind, I added a bunch of test-cases, it works fine!