Commit Graph

30 Commits

Author SHA1 Message Date
Dillon Kearns
de74127a3d Fix some test cases. 2022-02-26 08:46:07 -08:00
Dillon Kearns
b54e14570d Fix test compilation errors. 2022-02-26 08:36:55 -08:00
Dillon Kearns
6d2ce4d542 Fix some test suite errors. 2022-02-07 14:27:05 -08:00
Dillon Kearns
5d35b2c04c Fix compiler errors. 2022-01-27 20:43:16 -08:00
Dillon Kearns
2a2872e6fa Update docs and move HTTP body functions out of DataSource and into DataSource.Http. 2021-07-29 15:57:44 -07:00
Dillon Kearns
03f8ee359f Add new rule. 2021-06-03 17:59:58 -07:00
Dillon Kearns
1c2629b77e Remove unused Tuple value in return type. 2021-06-03 11:00:48 -07:00
Dillon Kearns
a082d9e291 Move HTTP-related DataSource API under DataSource.Http. 2021-04-20 13:52:54 -07:00
Dillon Kearns
47fccf2cca Rename StaticHttp to DataSource. 2021-04-20 07:33:12 -07:00
Dillon Kearns
77ed808d18 Remove unused code. 2021-04-02 14:44:40 -07:00
Dillon Kearns
1e5d6b8a0e Add file path and glob handlers. 2021-03-31 19:55:28 -07:00
Dillon Kearns
f7e1e8d3cb Run elm-review fixes. 2020-12-07 08:41:10 -08:00
Dillon Kearns
ba228d2c1a Tune performance to avoid traverse converting to/from dict repeatedly. 2020-10-05 20:35:15 -07:00
Dillon Kearns
5730b541a3 Use plain elm/json decoder in Browser mode, and optimizable decoder in Cli mode. 2020-04-17 20:10:25 -07:00
Dillon Kearns
f72a4588c7 Add an optimized decoder wrapper module. 2020-04-16 22:03:39 -07:00
Dillon Kearns
cc2b43ed23 Move the body constructors to the StaticHttp module to be more analagous to elm/http. 2020-01-03 13:57:45 -08:00
Dillon Kearns
21da4794e7 Change Body to Custom Type. 2020-01-03 13:37:50 -08:00
Dillon Kearns
5c9e8bc9b5 Include Body in StaticHttp requests. 2020-01-03 13:22:53 -08:00
Dillon Kearns
f2e8c70883 Change url hashing function to use JSON encoding. 2020-01-03 12:18:18 -08:00
Dillon Kearns
80b852e55d Move StaticHttp under Pages module namespace. 2019-12-11 06:13:02 -08:00
Dillon Kearns
79ad4c28d3 Remove non-reducible json decoder functions from StaticHttp module. 2019-11-12 18:22:36 -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
63abeece20 Wire through empty headers in requests. 2019-11-11 16:20:53 -08:00
Dillon Kearns
45d5ce8e89 Wire through new Secrets API. 2019-11-11 12:40:38 -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
458e67d776 Fix incorrect test expectation. 2019-11-02 07:43:25 -07:00
Dillon Kearns
1a70ac7713 Get happy path for StaticHttp.andThen working. 2019-11-01 13:29:09 -07:00
Dillon Kearns
7961a3c58d Fix implementation of StaticHttp.map for new andThen type. 2019-10-30 20:11:24 -07:00