MrMeshok
MrMeshok
For sure! Tests you linked asserting return types, how do i go about asserting argument types (for find and aggregate)?
There is also valid usage without named parameters ```php $media->manipulations = [ 'default' => [ 'border' => [ 1, BorderType::Expand, '000000' ] ] ]; ``` I see 2 solutions there:...
I think you can use TransformerFactory for that, they get all needed metadata. For example something like that ```php class GenericTransformerFactory { public function getTransformer(TypesMatching $types, SourcePropertyMetadata $source, TargetPropertyMetadata $target,...
> ``` > class User > { > private string $name; > > private ?\DateTimeInterface $birthdate = null; // Nullable > } > ``` When you type property with default...
Can you provide full example with configuration for `AutoMapper`? I am testing with `AutoMapper::create()` without any configuration and have no errors
I see now, for me, it's working because I was mapping from array/stdClass. When I was working with PATCH requests, I did this kind of mapping by hand. Yeah, it's...
Hi everyone, I did have a thought about this issue earlier but didn't find the time to work on implementation. I think in theory we can extract array shape from...