Not sure if this was discussed already so apologie...
# development
w
Not sure if this was discussed already so apologies ahead if so. Considering an scenario where a
GenerateSourcesRequest
like:
Copy code
class GenerateMySourcesRequest(GenerateSourcesRequest):
    input = MySourceField
    output = MyGeneratedSourceField
Should
has_field(MyGeneratedSourceField)
return
True
when invoked in the target objects that have
MySourceField
as part of their core fields? Not really interesting on addressing the field of the generated sources, just trying to figure out a way of detecting targets that may generate code for a specific source field type.
h
w
just a bit of scrolling and I would have found the answer myself 🤦‍♂️