Results 58 comments of Chao Yang

@grkek This is to skip the router handlers dynamically per request.

Tests are broken with crystal 1.13.1 due to https://github.com/crystal-lang/crystal/pull/11208

@imdrasil Please take a look.

It seems like jennifer fails to build due to the same issue here. https://github.com/imdrasil/jennifer.cr/issues/460

The jennifer failure is indeed caused by #11181, the tests passed after reverting the code change in #11208

Jennifer fails to build with crystal 1.13.1 https://github.com/imdrasil/jennifer.cr/actions/runs/10276277611/job/28436462078?pr=461#step:10:29

@HertzDevil I was just wondering if AI could help this project or not, so I gave it a try. Below is the chat history including the chain of thoughts, I...

OK, so it's better to provide summary of AI analysis to the github issue first before creating a PR. And it looks like the AI is helpful at finding root...

~~No idea why `!owner.nilable?` check is necessary here. If runtime type is nil, it reaches to Nil#crystal_type_id which returns hard coded value 0.~~ Removing `!owner.nilable?` check causes invalid memory access...