Fix #1129, view embedding on capitalized table
- Now also works on camelCase fk column
This commit is contained in:
committed by
Steve Chávez
parent
ecf0e9213f
commit
105671e51a
@@ -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`
|
||||
|
||||
Reference in New Issue
Block a user