vivus has quit [Remote host closed the connection]
_whitelogger has joined #amber
<FromGitter>
<sam0x17> how to completely disable node / webpack in amber? I'm making an API server and dont need any assets
<FromGitter>
<sam0x17> I figured it out
<FromGitter>
<sam0x17> its actually very easy to strip a lot of things out without breaking amber
<FromGitter>
<damianham> @shortly-portly all the amber documentation is in the online guides - what you probably want is the API documentation for the crystal language https://crystal-lang.org/api/0.30.1/
_whitelogger has joined #amber
feepbot has quit [Ping timeout: 248 seconds]
feepbot has joined #amber
<FromGitter>
<eliasjpr> @ikaru5 I haven’t made any progress with that cause amber can be organized as you want really. Just need to create directories following the trailblazer pattern and making the right requires
<FromGitter>
<shortly-portly> Thanks @damianham - I might be missing something but I wanted the Amber API i.e. what does the call to validate! vs validate look like - the stuff generated by crystal docs For example the Kemal framework has a website and an API Site (https://kemalcr.com/docs/).
fyber has joined #amber
fyber has quit [Remote host closed the connection]
<FromGitter>
<shortly-portly> Hi Al. Is there a mistake in the guide for param validation or am I misunderstanding (I'm very new to Crystal and Amber). According to the guide the following should work
<FromGitter>
<shortly-portly> required(:name, "Your First Name is missing!") { |p| p.name? & !p.name.empty? }
<FromGitter>
<shortly-portly> but it fails as required is expecting p to be the param field (in this case name) not p.name? Am I right or just misunderstanding? cheers