You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Currently we only provide doc attribute for dispatchable call.
But some module maker could want to add more logic make use of procedural macros.
Would it be interesting to allow this users to make use of regular attribute ?
Pros:
User can make use of procedural macros to add logic on calls in a very efficient way.
Cons:
This expose our implementation into some kind of APIs, the way we implemented this distpatchable function would now be constrained because some user have macros that expect previous result.
This is quite touchy in regards to what we auto-generate like Ok(()) for instance.
Finally I feel not in favor of it considering the potential complexity it brings in regards to backward compatibility and APIs.