When generating fields from a factory method, the field middleware appears to never be called for the generated fields. I expected to be able to do something like:
<?php
// usings here
class Example {
#[Factory]
public function exampleFactory (
#[AutoWire]
Something $something,
#[CustomAttribute]
string $field
) {
// do stuff
}
}
For now, the workaround appears to be to manually specify an input type instead of a factory?
When generating fields from a factory method, the field middleware appears to never be called for the generated fields. I expected to be able to do something like:
For now, the workaround appears to be to manually specify an input type instead of a factory?