Jeremy Woertink
Jeremy Woertink
Related: https://github.com/luckyframework/avram/issues/850 For `Shard::Field` if you pass an unpermitted attribute, you'll get a poor error message just telling you "no overload matches". This is true because we do ```crystal needs...
I just saw this article https://germano.dev/sse-websockets/ I need to read it a bit more and really understand it, but overall the concept seems fairly straight forward. It made me think.......
Related: https://github.com/luckyframework/avram/issues/804 It's not always the case, but it is technically possible for 2 requests to use the same Fiber instance. Breeze also patches Fiber https://github.com/luckyframework/breeze/blob/52d6e8152121e624dcf4fc2f40d5c50a192586a2/src/charms/fiber.cr#L5 This is used so...
## Purpose New `Lucky::ParamSerializable` module which takes param data incoming from a user, and serializes it in to usable objects. The values in this object become "permitted" params based on...
WebSockets
## Purpose Fixes #554 ## Description I wanted to get the discussion moving on how WebSockets might look in Lucky. The idea here would be that Lucky provides a very...
This question came up in Discord https://discord.com/channels/743896265057632256/743896265057632259/887039810114560040 When running specs, is there a way to skip the CSRF checks temporarily. This is something that might need to be done for...
These two things are usually the most customized when it comes to responses. For the most part, we have ways to set your custom status, but it's still a bit...
I'm actually shocked I haven't seen this before... Apparently you can't call `params` inside of an Error Action.... This data comes from `context` which is available inside of errors https://github.com/luckyframework/lucky/blob/e1a6adf8552676884e67528293d3142032387b4b/src/lucky/context_extensions.cr#L37...
For anyone that comes looking for websocket support, you can dive in to the [built in](https://crystal-lang.org/api/0.25.1/HTTP/WebSocket.html) websocket support for now. https://gitter.im/luckyframework/Lobby?at=5b5a51a61be9bb57bcc749bd However, this is obviously something we should support out...
Defining an action like this one fails to compile when the route ends in a variable and have a file extension: ```crystal class SomeAction < Lucky::Action get "/reports/:report_name.csv" do text...