Remove partitions from the schema cache
breaking: Embedding, OpenApi and other features related to the schema cache are no longer allowed on partitions.
This commit is contained in:
@@ -122,10 +122,10 @@ spec actualPgVersion = do
|
||||
|
||||
when (actualPgVersion >= pgVersion110) $
|
||||
it "should not throw and return location header for partitioned tables when selecting without PK" $
|
||||
request methodPost "/partitioned_a" [("Prefer", "return=headers-only")]
|
||||
[json|{"id":5,"name":"first"}|] `shouldRespondWith` ""
|
||||
request methodPost "/car_models" [("Prefer", "return=headers-only")]
|
||||
[json|{"name":"Enzo","year":2021}|] `shouldRespondWith` ""
|
||||
{ matchStatus = 201
|
||||
, matchHeaders = [ "Location" <:> "/partitioned_a?id=eq.5&name=eq.first"
|
||||
, matchHeaders = [ "Location" <:> "/car_models?name=eq.Enzo&year=eq.2021"
|
||||
, "Content-Range" <:> "*/*" ]
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user