Fix #1129, view embedding on capitalized table

- Now also works on camelCase fk column
This commit is contained in:
steve-chavez
2018-07-18 09:43:42 -05:00
committed by Steve Chávez
parent ecf0e9213f
commit 105671e51a
4 changed files with 20 additions and 0 deletions
+3
View File
@@ -377,6 +377,9 @@ spec = do
"books":[{"title":"The Little Prince"}]} ]|]
{ matchHeaders = [matchContentTypeJson] }
it "works when having a capitalized table name and camelCase fk column" $
get "/foos?select=*,bars(*)" `shouldRespondWith` 200
describe "path fixed" $ do
it "works when requesting children 2 levels" $
get "/clients?id=eq.1&select=id,projects:projects.client_id(id,tasks(id))" `shouldRespondWith`