on master help sign in
Merge branch 'master' into servant-0.16.2
commitdcee0f31b3c8c5bce9750073ea5a324d129024e9 authorMark Wotton <mwotton@gmail.com> dateWed 16 Dec 2020, 13:04 (6 years ago) parent3ceb42596367fb
2 files changed+19
src/Roboservant/Types/ReifiedApi.hs+12 stack.yaml+7
src/Roboservant/Types/ReifiedApi.hs+12
@@ -192,6 +192,18 @@ instance
192192 tagType (Argument (buildFrom @(captureType)))
193193 V.:& reifiedEndpointArguments @endpoint
194194
195+-- caching for merge
196+-- instance
197+-- ( BuildFrom (IfLenient String mods captureType)
198+-- , ToReifiedEndpoint endpoint) =>
199+-- ToReifiedEndpoint (Capture' mods name captureType :> endpoint)
200+-- where
201+-- type EndpointArgs (Capture' mods name captureType :> endpoint) = IfLenient String mods captureType ': EndpointArgs endpoint
202+-- type EndpointRes (Capture' mods name captureType :> endpoint) = EndpointRes endpoint
203+-- reifiedEndpointArguments =
204+-- tagType (Argument (buildFrom @(IfLenient String mods captureType)))
205+-- V.:& reifiedEndpointArguments @endpoint
206+
195207instance
196208 ( BuildFrom (IfLenient String mods requestType)
197209 , ToReifiedEndpoint endpoint) =>
stack.yaml+7
@@ -9,7 +9,14 @@ extra-deps:
99- dependent-sum-0.7.1.0
1010- constraints-extras-0.3.0.2
1111- dependent-map-0.4.0.0
12+
1213- servant-0.16.2
1314- servant-client-0.16.0.1
1415- servant-client-core-0.16
1516- servant-server-0.16.2
17+
18+# cached for testing
19+# - servant-0.18.2
20+# - servant-client-0.18.2
21+# - servant-client-core-0.18.2
22+# - servant-server-0.18.2