Commit Graph

3445 Commits

Author SHA1 Message Date
Dillon Kearns
d7dd124880 Show error output if it can't be parsed as JSON. 2022-01-26 15:03:44 -08:00
Dillon Kearns
fdf14a70dc Try hardcoding path for now. 2022-01-26 14:59:16 -08:00
Dillon Kearns
11ff7e1afb Try downloading lamdera in current dir. 2022-01-26 14:56:08 -08:00
Dillon Kearns
19a5426d90 Try different download path. 2022-01-26 14:51:06 -08:00
Dillon Kearns
e76dbfd700 Try different file path for lamdera download. 2022-01-26 14:48:06 -08:00
Dillon Kearns
6b4f505832 Try another command to install lamdera on netlify build. 2022-01-26 14:45:26 -08:00
Dillon Kearns
7497934772 Merge branch 'lamdera-wire' into serverless-latest
# Conflicts:
#	examples/pokedex/netlify.toml
#	examples/pokedex/src/Api.elm
#	examples/pokedex/src/Page/Greet.elm
#	examples/pokedex/src/Page/Login.elm
#	src/Session.elm
2022-01-26 14:32:39 -08:00
Dillon Kearns
119f989d93 Add commands to install lamdera to netlify build command. 2022-01-26 14:28:12 -08:00
Dillon Kearns
e2145a5844 Restore --report json option to make command. 2022-01-26 14:27:24 -08:00
Dillon Kearns
b979c5bc3c Run lamdera compiler instead of elm to make wire encoders available. 2022-01-26 14:27:15 -08:00
Dillon Kearns
ffb3656d12 Update plugin helper to remove OptimizedDecoder. 2022-01-26 11:05:55 -08:00
Dillon Kearns
2ebf3f6164 Remove instance of OptimizedDecoder. 2022-01-26 11:02:52 -08:00
Dillon Kearns
30f337750c Fix typo. 2022-01-26 11:02:43 -08:00
Dillon Kearns
0ae2caaad8 Extract updated MarkdownCodec helper, and use the new HTML-free helper for Docs to fix Lamdera Wire encoding error. 2022-01-26 10:57:19 -08:00
Dillon Kearns
fe60b7c812 Don't encode HTML. 2022-01-26 10:53:29 -08:00
Dillon Kearns
cc81a4f2f3 Remove unused. 2022-01-26 10:45:43 -08:00
Dillon Kearns
b9c9b262fd Remove unused. 2022-01-26 10:45:32 -08:00
Dillon Kearns
d15a191d5a Distill shared data. 2022-01-26 10:45:05 -08:00
Dillon Kearns
2dd7394f07 Update docs app to use vanilla decoders. 2022-01-26 09:47:18 -08:00
Dillon Kearns
4d2a96ad99 Delete distill helpers. 2022-01-26 09:06:10 -08:00
Dillon Kearns
ebcdf7d184 Delete OptimizedDecoder API. 2022-01-26 09:02:25 -08:00
Dillon Kearns
8229547cb7 Only use Bytes encoded responses, and delete StripResponse logic which is now obsolete. 2022-01-26 09:01:05 -08:00
Dillon Kearns
305e09cdaa Fix typo. 2022-01-26 08:38:24 -08:00
Dillon Kearns
8813122069 Remove strip response variant. 2022-01-26 08:37:39 -08:00
Dillon Kearns
45042b0472 Remove inaccurate comment from copy-paste. 2022-01-26 08:37:02 -08:00
Dillon Kearns
9b4e4dab9b Log dev server errors in case they can't be decoded to JSON. 2022-01-26 08:36:48 -08:00
Dillon Kearns
3e9a93c636 Generate distillBytes with wire codecs for all page modules. 2022-01-25 21:56:02 -08:00
Dillon Kearns
afb7470cb1 Extract functions. 2022-01-25 18:26:46 -08:00
Dillon Kearns
d779ed15d2 Add missing lamdera dependencies. 2022-01-25 18:22:16 -08:00
Dillon Kearns
5342859ecd Use page reload port to reload data without refresh in todo example. 2022-01-25 11:20:34 -08:00
Dillon Kearns
21d9ae9e35 Add port to reload current page's data. 2022-01-25 11:20:18 -08:00
Dillon Kearns
359b3e92c5 Add todos example. 2022-01-24 20:55:07 -08:00
Dillon Kearns
e84232d67a Include form helper in build output elm file. 2022-01-24 20:54:53 -08:00
Dillon Kearns
d4eb37f8ac Add Fauna request helper module. 2022-01-24 20:45:32 -08:00
Dillon Kearns
756350f5af Expect form fields in form handler instead of making them optional so that responses with the wrong shape yield to any remaining form handlers. Add additional Form helpers. 2022-01-24 20:43:05 -08:00
Dillon Kearns
077809768a Extract eagerLoad helper in ContentCache. 2022-01-24 19:38:53 -08:00
Dillon Kearns
0cd9a56675 Add quotes around field name in error message. 2022-01-24 19:09:46 -08:00
Dillon Kearns
f21b8b61b1 Add form data decoder and example. 2022-01-24 15:50:25 -08:00
Dillon Kearns
2d22f73aa8 Fix tests. 2022-01-24 15:43:37 -08:00
Dillon Kearns
d477687f18 Add test case. 2022-01-24 15:43:05 -08:00
Dillon Kearns
83945541d7 Add fauna todo list GraphQL schema. 2022-01-24 15:38:14 -08:00
Dillon Kearns
c207626a14 Install elm-graphql. 2022-01-24 15:37:53 -08:00
Dillon Kearns
ff44e2757b Allow formData in request tests. 2022-01-23 20:05:05 -08:00
Dillon Kearns
49134ef818 Allow initial String values for hidden fields. 2022-01-23 20:03:09 -08:00
Dillon Kearns
1675b1bebb Fix check for validation errors in Form API. 2022-01-23 20:02:16 -08:00
Dillon Kearns
78cc936272 Fix tests. 2022-01-23 19:30:48 -08:00
Dillon Kearns
b0cab3cc7d Use cookie session for logout route. 2022-01-23 13:42:50 -08:00
Dillon Kearns
1becbff897 Wire through errors with session checksums. 2022-01-23 13:35:04 -08:00
Dillon Kearns
7d1f675a90 Add some session helpers. 2022-01-23 13:01:04 -08:00
Dillon Kearns
574f6711df Extract function. 2022-01-23 12:53:22 -08:00