https://pantsbuild.org/ logo
h

happy-kitchen-89482

02/05/2023, 5:59 AM
Does anyone recall why `@rule_helper`s have to be "private" (i.e., have a name starting with an underscore)? (See here)
c

curved-television-6568

02/05/2023, 2:40 PM
I think just to minimize exposure initially. There’s a
public
property to override this limitation. Although, now you can do without the annotation altogether! 😉
h

happy-kitchen-89482

02/05/2023, 4:23 PM
True!
Excellent
w

witty-crayon-22786

02/06/2023, 5:34 PM
at the time, i argued that we wouldn’t have a way to document them in our plugin APIs, since the generated help was type driven. but given the direction Andreas’ PR sends us in, it seems inevitable that we’ll have public APIs involving named functions
c

curved-television-6568

02/06/2023, 6:10 PM
🙂 and my hope is that we indeed shall be able to have them all documented 😉
4 Views