Remove support for {} embed and "in" op w/o parens

This commit is contained in:
steve-chavez
2018-05-02 13:06:44 -05:00
committed by Steve Chávez
parent 3a1213f53b
commit 79a7ce49f2
10 changed files with 88 additions and 117 deletions
+1 -1
View File
@@ -57,7 +57,7 @@ spec = do
context "requesting full representation" $ do
it "includes related data after insert" $
request methodPost "/projects?select=id,name,clients{id,name}"
request methodPost "/projects?select=id,name,clients(id,name)"
[("Prefer", "return=representation"), ("Prefer", "count=exact")]
[str|{"id":6,"name":"New Project","client_id":2}|] `shouldRespondWith` [str|[{"id":6,"name":"New Project","clients":{"id":2,"name":"Apple"}}]|]
{ matchStatus = 201