@@ -97,8 +97,6 @@ instance
97 , Row.Union pathParams queryParams pathQuery
97 , Row.Union pathParams queryParams pathQuery
98 , Row.Nub pathQuery pathQuery
98 , Row.Nub pathQuery pathQuery
99 , RowToList pathQuery pathQueryRL
99 , RowToList pathQuery pathQueryRL
100− , RowToList queryParams queryParamsRL
101− , ReadPartialQuery queryParamsRL queryParams
102 , RowToList headers headersRL
100 , RowToList headers headersRL
103 , ToHeaders headersRL headers
101 , ToHeaders headersRL headers
104 , CheckBodyIsUnit body bodyFlag
102 , CheckBodyIsUnit body bodyFlag
@@ -113,7 +111,6 @@ instance
113 convert = unsafeCoerce
111 convert = unsafeCoerce
114 impl :: Record pathQuery -> Record headers -> body -> Om { | ctx } errRow result
112 impl :: Record pathQuery -> Record headers -> body -> Om { | ctx } errRow result
115 impl pathQueryRec headersRec bodyVal = widenOm do
113 impl pathQueryRec headersRec bodyVal = widenOm do
116− let queryParamsRec = readPartialQuery @queryParamsRL pathQueryRec
117 let url = buildUrl baseUrl (Proxy :: _ segments) pathParamsRec queryParamsRec
114 let url = buildUrl baseUrl (Proxy :: _ segments) pathParamsRec queryParamsRec
118 let hdrs = toHeaders (Proxy :: _ headersRL) headersRec
115 let hdrs = toHeaders (Proxy :: _ headersRL) headersRec
119 let ct = encodingContentType (Proxy :: _ encoding)
116 let ct = encodingContentType (Proxy :: _ encoding)
@@ -122,6 +119,7 @@ instance
122 variantOrValue (Proxy :: _ successRL) variant # pure
119 variantOrValue (Proxy :: _ successRL) variant # pure
124 pathParamsRec = unsafeCoerce pathQueryRec :: Record pathParams
121 pathParamsRec = unsafeCoerce pathQueryRec :: Record pathParams
122+ queryParamsRec = unsafeCoerce pathQueryRec :: Record queryParams
125 widenOm :: Om (Record ()) routeErrors ~> Om { | ctx } errRow
123 widenOm :: Om (Record ()) routeErrors ~> Om { | ctx } errRow
126 widenOm = unsafeCoerce
124 widenOm = unsafeCoerce