jhass changed the topic of #crystal-lang to: The Crystal programming language | https://crystal-lang.org | Crystal 0.35.1 | Fund Crystal's development: https://crystal-lang.org/sponsors | GH: https://github.com/crystal-lang/crystal | Docs: https://crystal-lang.org/docs | Gitter: https://gitter.im/crystal-lang/crystal
ryanprior has joined #crystal-lang
ryanprior has quit [Quit: authenticating]
ryanprior has joined #crystal-lang
lanodan has quit [Ping timeout: 272 seconds]
<FromGitter> <wyhaines> @rishavs WSL1 or WSL2?
lanodan has joined #crystal-lang
deavmi_ has quit [Read error: Connection reset by peer]
deavmi has joined #crystal-lang
f1refly has joined #crystal-lang
f1reflyylmao has quit [Ping timeout: 272 seconds]
avane has quit [Quit: ZNC - https://znc.in]
avane has joined #crystal-lang
<FromGitter> <grkek> How does one access the value of a nested macro variable?
<FromGitter> <grkek> I added a swagger feature to the framework
mistergibson has joined #crystal-lang
<FromGitter> <j8r> @grkek yeah, this kind of things already exists in lots of other frameworks
<FromGitter> <grkek> Haha, remember when I wanted to add one but was too lazy
<FromGitter> <j8r> the problem is the manual completion of this info
<FromGitter> <grkek> Manual completion is not a problem once you look at it from another aspect
<FromGitter> <j8r> there can be a mismatch of what the doc said and what the code do
<FromGitter> <j8r> anyway, that's a good addition
<FromGitter> <grkek> The mismatch I agree can be a problem, but when you want to add additional details to the routes
<FromGitter> <grkek> like description, information, responses, etc.
<FromGitter> <grkek> its not a problem anymore
<FromGitter> <grkek> Thank you mate ;)
<FromGitter> <grkek> I updated the logo if you saw it
<FromGitter> <j8r> Ha, I see
<FromGitter> <j8r> how have you done it?
<FromGitter> <j8r> I like it
<FromGitter> <grkek> I used a font I found on dafont
<FromGitter> <grkek> dropped a shadow
<FromGitter> <grkek> colored it
<FromGitter> <grkek> thats it
<FromGitter> <grkek> :D
<FromGitter> <j8r> maybe gripen should be not in the grip org at the end...
<FromGitter> <j8r> not sure :/
<FromGitter> <grkek> You can leave it in here if you want to
<FromGitter> <grkek> or we can move it
<FromGitter> <grkek> I would be glad if we could continue working on it
<FromGitter> <grkek> I am currently jobless for 17 more days
<FromGitter> <grkek> so we could work on it some more ?
<FromGitter> <grkek> I haven't worked on it at all
<FromGitter> <grkek> tbh its all your work, but I would love to work on it yes
<FromGitter> <j8r> let's continue on the grip chan ;)
<FromGitter> <grkek> Sounds good
yukai has quit [Ping timeout: 256 seconds]
<FromGitter> <grkek> @j8r found a bug in the swagger shard haha
<raz> gosh swagger. :<
* raz shivers
<FromGitter> <grkek> why?
r0bby has quit [Ping timeout: 260 seconds]
<yxhuvud> I kinda dislike swagger because there are some common stuff that it doesn't support. Like nested query parameters. Which are fucking everywhere but the standard can't do it. It means for example that it is incompatible with json:api.
r0bby has joined #crystal-lang
<yxhuvud> also it reinvented parts of json_schema for no valid reason. Instead of using union types like json schema it invented its own, worse, variant of it. bleh.
<FromGitter> <j8r> maybe. but, what's the better alternatives out there?
<yxhuvud> That there ain't any good choice doesn't make the existing choices better, sadly.
johnny101 has quit [Ping timeout: 272 seconds]
Vexatoast has quit [Quit: ZNC Quit]
Stephie has quit [Quit: Fuck this shit, I'm out!]
Stephie has joined #crystal-lang
Stephie has quit [Excess Flood]
Vexatos has joined #crystal-lang
mistergibson has quit [Quit: Leaving]
<raz> yeh there are some alternatives, but none of them has much adoption i think. re: swagger, yup, what yxhuvud said. it's just a horrible impl of a great (and much needed) idea.
<raz> the tooling is a mess, the doc generators/viewers are a mess. it should be _easy_ to auto-generate api-docs in about any web-framework even without special annotations
<raz> but in reality, just finding a swagger-plugin at least *somewhat* works is a nightmare even for the most popular frameworks (rails et al)
<raz> then try to make it cope with any kind of auth, endpoint versioning, payload/response schemas, generating scoped docs (e.g. partners should see only part of the API), etc. ... brrrrr
<raz> basically everything that you actually need in the real world doesn't work
<raz> what i don't really understand is why nobody has created a non-broken version of it. without all the json nonsense
<raz> just a standardized set of comment-annotations (javadoc style). parse the source-tree. done
<raz> (but yeh i admit it's a hard problem, and we programmers aren't good at solving our own problems)
<FromGitter> <j8r> raz: that what I done with gripen, - auto api docs generation ;)
<FromGitter> <j8r> But I use the https://github.com/icyleaf/swagger to deal with swagger
<raz> yap, that's a major appeal to me :D (haven't tried it yet, but that's how it needs to work)
<FromGitter> <rishavs> > @rishavs WSL1 or WSL2? ⏎ ⏎ @wyhaines , the weird thing is that I have wsl 1, even though this is a known isue for wsl2
HumanG33k has joined #crystal-lang
HumanG33k has quit [Remote host closed the connection]
HumanG33k has joined #crystal-lang
Reiser has quit [Ping timeout: 246 seconds]
coderobe has quit [Ping timeout: 240 seconds]
repo has quit [Ping timeout: 265 seconds]
repo has joined #crystal-lang
coderobe has joined #crystal-lang
MasterdonX has joined #crystal-lang
deavmi has quit [Read error: Connection reset by peer]
deavmi has joined #crystal-lang
johnny101 has joined #crystal-lang
johnny101 has quit [Quit: ZNC 1.7.5 - https://znc.in]
johnny101 has joined #crystal-lang
dostoyevsky has quit [Quit: leaving]
dostoyevsky has joined #crystal-lang
yukai has joined #crystal-lang
woodruffw has quit [Ping timeout: 260 seconds]
Stephie has joined #crystal-lang
PixeLInc has quit [Ping timeout: 260 seconds]
robacarp has quit [Ping timeout: 260 seconds]
woodruffw has joined #crystal-lang
PixeLInc has joined #crystal-lang
robacarp has joined #crystal-lang