You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From what I understand, this project uses servant-reflex for a type-safe client, which is great. The price for this seems to be quite a bit of boilerplate for every single api request. Is this some irreducible complexity there?
The text was updated successfully, but these errors were encountered:
rubenmoor
changed the title
boilerplate for servant-reflex client
lots of boilerplate for servant-reflex client
Mar 25, 2021
prerender_ (text "") $ do
res <- lift $ someAutoGeneratedRequest -- ...
-- ...
For my intents and purposes, this is a solution. I am not quite sure in how far I am limiting myself now - effectively allowing requests only once the Javascript frontend has loaded.
From what I understand, this project uses
servant-reflex
for a type-safe client, which is great. The price for this seems to be quite a bit of boilerplate for every single api request. Is this some irreducible complexity there?The text was updated successfully, but these errors were encountered: