Unify Proxy type applications

This commit is contained in:
2023-09-16 04:39:26 +02:00
parent e7d494c034
commit 591f4cddfa
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -35,7 +35,7 @@ spec = do
describe "getColumnTable" $ do
it "Gets the column table for a result" $ \conn -> do
Just result <- LibPQ.execParams conn "SELECT name, age FROM person" [] LibPQ.Text
columnTable <- Opium.getColumnTable (Proxy :: Proxy Person) result
columnTable <- Opium.getColumnTable @Person Proxy result
columnTable `shouldBe` [0, 1]
it "Gets the numbers right for funky configurations" $ \conn -> do