hundreds-father-404
01/06/2022, 10:00 PMwitty-crayon-22786
01/06/2022, 10:05 PMhundreds-father-404
01/07/2022, 11:44 PMI'm no longer as convinced we need to re-envision what a world without targets would look like
witty-crayon-22786
01/07/2022, 11:46 PMhundreds-father-404
01/07/2022, 11:49 PMwitty-crayon-22786
01/07/2022, 11:49 PMhundreds-father-404
01/13/2022, 6:31 PMenough-analyst-54434
01/13/2022, 6:34 PMhundreds-father-404
01/13/2022, 6:36 PMKey point: the identity of a field comes from its Python class hierarchy, not its BUILD file alias. python_sources and go_packages both have the same sources: list[str] field, yet plugins can differentiate from them. Target types declare which Python class to use for each field, so when a user types go_package(sources=), we know to use GoPackageSourcesField rather than PythonSourcesField.
witty-crayon-22786
01/13/2022, 6:36 PM