https://pantsbuild.org/ logo
#development
Title
# development
a

aloof-angle-91616

07/16/2020, 10:24 AM
what would happen if i registered multiple separate fields as sources fields? the v2 target api
h

hundreds-father-404

07/16/2020, 2:10 PM
Undefined. I think the alias must be unique for every field, but there’s nothing stopping you from inheriting from the same base class like Sources multiple times. This would be an issue when using tgt.get(Sources) because it will only return the first of the valid fields it finds What’s the use case?