Ludovic Dem

Results 38 comments of Ludovic Dem

> perhaps you have the expectation that it should not warn as long as at least one of the "or"s succeed. Yes, "succeed" at the type-wise level (the guard can...

> The compiler definitely warns Yep ! I guess it is because `contract` is not just a variable for the compiler, it "knows" that it is an atom. I learnt...

Hi, I'm glad that you like the idea! I will give it a try in the near future too, but I was thinking of writing a complete alternative server module...

I made a proof of concept [here](https://github.com/lud/sqlitex/blob/alt-server/lib/sqlitex/server_alt.ex) with a simple statement cache for well-known queries. It works in transactions too. Though I changed a little bit the way transactions work...

> +1 > > Did you somehow solve your question? I created this class: ```php use League\Event\Emitter; use League\Event\EmitterInterface; use League\Event\EventInterface; use League\Event\ListenerInterface; use League\OAuth2\Server\RequestEvent; use Psr\Log\LoggerInterface; use Symfony\Contracts\EventDispatcher\EventDispatcherInterface; class...

Or I could add a custom grant, and override `respondToAccessTokenRequest` from the `PasswordGrant` ? That would be better since that is where we have the full user instance (so no...

Hi @Stefanobosio , thank for your answer. This is what we have done: In our `Kernel` we are adding a compilation pass: ``` protected function build(ContainerBuilder $container): void { //...

Sorry I have never needed to to that. If we need more data we pass it in the metadata.

`climate` or `cli_mate` maybe ? By the way I see not much activity on this repo, is it considered "finished" and stable ? Thank you.

I use this workaround currently: ``` :brod.produce_sync( Kaffe.Config.Producer.configuration().client_name, topic, &brod_partitionner/4, :ignored_key, [%{key: key, headers: headers, value: payload}] ) ```