Commit Graph

822 Commits

Author SHA1 Message Date
Dillon Kearns
fb8fffaab3 Bump number of requests for performance testing. 2019-12-09 09:41:23 -08:00
Dillon Kearns
4545e1229e Remove some noise. 2019-12-09 09:41:01 -08:00
Dillon Kearns
adfd95678a Use plaintext test helper. 2019-12-07 06:46:45 -08:00
Dillon Kearns
79142c7be1 Inline error to string function for static http requests. 2019-12-07 06:35:36 -08:00
Dillon Kearns
39d9f84783 Update package-lock.json 2019-12-07 06:22:57 -08:00
Dillon Kearns
4a72843a4c Update intellij config. 2019-12-07 06:22:50 -08:00
Dillon Kearns
8ddfa36dee Move error titles into BuildError type. 2019-12-07 06:21:54 -08:00
Dillon Kearns
fc6f0e35af Include title in BuildError type. 2019-12-06 20:19:45 -08:00
Dillon Kearns
658798e480 Add some annotations and remove some comments. 2019-12-06 20:02:24 -08:00
Dillon Kearns
e617fce979 Move value out of let. 2019-11-12 20:16:46 -08:00
Dillon Kearns
f8766e0472 Only reduce JSON responses in prod build, not dev mode (so that JSON decoders can be safely re-run). 2019-11-12 20:14:34 -08:00
Dillon Kearns
18f5ef2778 Remove unused code. 2019-11-12 18:27:14 -08:00
Dillon Kearns
ebf0fd096a Add some log statements and remove some unused code. 2019-11-12 18:24:54 -08:00
Dillon Kearns
79ad4c28d3 Remove non-reducible json decoder functions from StaticHttp module. 2019-11-12 18:22:36 -08:00
Dillon Kearns
93494f4528 Remove some commented code. 2019-11-12 15:34:54 -08:00
Dillon Kearns
c8533f8fb9 Remove obsolete function. 2019-11-12 12:48:01 -08:00
Dillon Kearns
4e74a9a2eb Make request to pokeapi in example. 2019-11-12 10:00:01 -08:00
Dillon Kearns
62521a0e5a Add combine and resolve functions and test case. 2019-11-12 09:59:37 -08:00
Dillon Kearns
8401dc5dac Show pokemon sprite. 2019-11-11 19:03:11 -08:00
Dillon Kearns
b226776f60 Display errors from reducible json decoding. 2019-11-11 19:02:22 -08:00
Dillon Kearns
c0726adb2c Add request for pokemon to example. 2019-11-11 18:47:40 -08:00
Dillon Kearns
56933942c8 Rename module. 2019-11-11 17:48:08 -08:00
Dillon Kearns
7b78c2340a Remove unused modules. 2019-11-11 17:46:54 -08:00
Dillon Kearns
4c2ae1f6cf Remove some comments and debug statements. 2019-11-11 17:42:30 -08:00
Dillon Kearns
f3472892ac Wire through HTTP headers. 2019-11-11 16:57:51 -08:00
Dillon Kearns
63abeece20 Wire through empty headers in requests. 2019-11-11 16:20:53 -08:00
Dillon Kearns
cd8077ebc7 Wire through BuildErrors for Secret lookups. 2019-11-11 13:56:53 -08:00
Dillon Kearns
dad13ebd2a Fix raw response dict lookup when it includes secrets. 2019-11-11 13:01:52 -08:00
Dillon Kearns
45d5ce8e89 Wire through new Secrets API. 2019-11-11 12:40:38 -08:00
Dillon Kearns
2963598592 Add module for new Secrets API. 2019-11-10 07:35:03 -08:00
Dillon Kearns
8c04f42dd5 Add StaticHttp.request which can be used to build the other helpers. 2019-11-08 20:18:49 -08:00
Dillon Kearns
2637447fc0 Add reducedPost function. 2019-11-08 13:47:43 -08:00
Dillon Kearns
51e8617dc3 Remove a hardcoded HTTP method. 2019-11-08 07:37:26 -08:00
Dillon Kearns
80d8ee8a71 Remove a hardcoded HTTP method. 2019-11-08 07:33:53 -08:00
Dillon Kearns
e36f2734bc Wire through HTTP method into dict key for response lookup. 2019-11-07 21:47:36 -08:00
Dillon Kearns
32359078f9 Use record with method option for StaticHttp requests in preparation for configurable request headers and method. 2019-11-05 07:53:17 -08:00
Dillon Kearns
5b8ccee881 Use record for unmasked urls in preparation for adding HTTP request headers, method, and body. 2019-11-04 18:24:02 -08:00
Dillon Kearns
2152a71e7c Handle passing through reduced responses with map2. 2019-11-04 13:48:30 -08:00
Dillon Kearns
5f90f03ab3 Make sure stripped responses are passed through andThen chains. 2019-11-04 13:24:08 -08:00
Dillon Kearns
c20071a06e Fix up elm.json and remove test only and logs. 2019-11-04 13:05:12 -08:00
Dillon Kearns
a04f26bc99 Get a simple test case passing for JSON reducers! 2019-11-03 10:07:20 -08:00
Dillon Kearns
b66b9a3ad1 Add json exploration library temporarily. 2019-11-03 09:10:19 -08:00
Dillon Kearns
4a83041a79 First pass at wiring for reducing JSON responses. 2019-11-03 09:10:05 -08:00
Dillon Kearns
f3fbc9ff72 Update docs to use the new StaticHttp module. 2019-11-02 16:32:12 -07:00
Dillon Kearns
a6a0a5abed Add regex package. 2019-11-02 15:35:20 -07:00
Dillon Kearns
28c48af222 Fix test expectaion. 2019-11-02 14:46:52 -07:00
Dillon Kearns
72c84901ff Make sure missing secrets are reported for nested andThen requests. 2019-11-02 14:17:32 -07:00
Dillon Kearns
e1fd4d98b1 Make sure http errors are sent out. 2019-11-02 13:27:38 -07:00
Dillon Kearns
e6f8b691eb Terminate with port message after HTTP error. 2019-11-02 13:14:09 -07:00
Dillon Kearns
d4988dffe2 Remove unused code. 2019-11-02 12:44:40 -07:00