leaf

Results 383 comments of leaf

the `html` method creates a dynamic function scope that lazily creates these functions as you call them. (For this to work there must be no local variable that is shadowing...

This is expected, this is functionality of the postgres simple query protocol. If you use the extended protocol then you can only issue one query at a time.

same answer as here: https://github.com/leafo/pgmoon/issues/129 no plans to add layers above the database connection logic

I ran it a few dozen times but was unable to get it to time out. Are you still having the issue?

I agree that `lapis server` could output some help information about the used environment and configuration when using openresty. The only discrepancy is that with openresty, it uses the config,...

This is related to https://github.com/leafo/lapis/issues/760 The route name was intended to be in the form of a lua module name, not a route path.

There aren't any tutorials, but I'd be glad to help you out and maybe we can assemble one in the process. I run my production lapis under a regular user...

In the reverse proxy scenario I just have SSL on the main nginx server, and the configs point to the certs for each project. It's one downside since it makes...

Yeah, Currently an undocumented feature as I'm getting comfortable with the API. You can see some examples here: https://github.com/leafo/lapis/blob/master/spec/flow_spec.moon

I use them all the time, just haven't written documentation for it. Here's a flow in streak club: https://github.com/leafo/streak.club/blob/master/flows/edit_streak.moon Here's how it's called: https://github.com/leafo/streak.club/blob/master/applications/streaks.moon#L37 It's a method for keeping your...