Apart from the security concern, I think an expose decorator makes the code much more clear, so readers can easily determine which methods of an RPC proxy are public and which are implementation helpers.
Apart from the security concern, I think an expose decorator makes the code much more clear, so readers can easily determine which methods of an RPC proxy are public and which are implementation helpers.