Milan Felix Šulc
Milan Felix Šulc
I like an idea a lot. If it's not suitable for `nette/utils` I would gladly see it in [`contributte\utils`](https://github.com/contributte/utils) or also in `contributte/collection`, something like that was in my plan...
I hit exactly the same issue. Upgrading from gitlab (14.0.2 => 14.2.4), postres (sameersbn/postgresql:12-20200524) and redis (6.2).
I've had a similar approach. I've separate some useful methods from logger (https://github.com/contributte/logging/blob/master/src/Utils/Utils.php) into Utils, same as you. I've also implemented some loggers, for example ComposedLogger[logger1, ...., loggerN], which accept...
@dg Agree.
Please consider extensions from user-land.
I like this PR, maybe it could be more cleaner (without hacks) for nette 3.0? If we break the API, let's make better one.
Confirmed @slappyslap comment. 1. `DELETE FROM "public"."user_oauth_token" WHERE "id" = 'yourtokenid';` 2. Go to organization -> add package -> gitlab and authenticate again. 3. Works.
Will take a 👀
At this time, implementation looks like this: https://github.com/contributte/apitte/blob/816aa4fb8670d8ff1bbe9777e4b70ebbb1142788/src/Core/Mapping/Request/BasicEntity.php#L45-L72 It means, if you have typed property `int $typedId` and try to assign string to it, PHP will throws error, but there...
I've added some more tests for the future https://github.com/contributte/apitte/commit/33ec0d462a7d30c174e2519fac940c8d4382424c