Nullable injections
This minor patch release allows nullable types to be requested by the Injector class. This means that if your function parameter has a type such as ?App\User
, it will still try to inject the App\User
class. This is super useful for WebEngine applications, allowing go
functions to simply have a nullable User parameter to indicate whether on not the user is authenticated.