Joshua Primero
Joshua Primero
@iamyulong Can we close this?
@0xOmarA Good points! > Could the LocalComponent be made aware of the functions and methods that exist on the underlying blueprint such that when auth is called on a LocalComponent...
@devmannic > I would also like to see a declarative way to add auth near the methods too via annotations even if those are just used as defaults I think...
@devmannic > I also think generally speaking a "fail closed" system is better and safer. Ie. No auth specified means only callable by self, equivalent to non pub. I'm not...
Perhaps its the fact that `pub` is attached to the `walk` method that makes this confusing. The concept of "public methods" is mostly be an interface/auth issue decided by the...
Heh glad that helped! Maybe a helpful analogy from the web world is the blueprint code is web server code and the auth/interface layer is nginx. Depending on your use...
@devmannic No problem! It's perhaps been unclear because even on our side we're working on figuring out the best interface to this complicated configuration which like you mention is "all...
@devmannic No worries! And yes, we'll definitely be swapping out the method name strings with something compiler enforceable, probably using the blueprint macro to generate method enums like you mention....
Yup, sounds like a good idea