Dalibor Karlović

Results 220 comments of Dalibor Karlović

You don't need to specify a version. If you configure Composer correctly, it figures out the best version it can use with your current setup. But yes, that would be...

~~This will get caught by PHPStan once we get to a high-enough level (IIRC level 5)~~ `null` is explicitly allowed by the interface? Why? :see_no_evil:

> when you want to **decouple your domain logic from your mapping**. In other cases, There shouldn't be "other cases", when do you NOT want to do this?

Well, you obviously need the mapping somewhere, but IMO promoting annotations has done some harm here, it's now seen as a go-to way of doing things even though it shouldn't...

Sorry, didn't mean (just) here, I mean overall in the community. Annotations should be a quick way to do something short-term, but in the long run you'll end up wanting...

> That's subjective Exactly why we should follow the established way of having all three in the docs. Is there any way we could do that?

> Please let's leave out YAML. That's 1/3 of work already done! :laughing: So we need XML for ORM and annotations for ODM? Seems doable, do you agree?

[Example usage](https://bshaffer.github.io/oauth2-server-php-docs/overview/jwt-access-tokens/) of JWT as an access token shows you can use it as a pre-validation of the access token, no need to use it as "full" JWT. Example: 1....

@gaubej is this obsoleted by #524? If so, please close it and we can work on this there.

@gaubej note you can use `make` before committing to fix CS and run checks before committing / pushing.