I recently set up a new RPC server in my codebase. The issue I'm having is -- as I'm adding more functions, the server file is growing in length.
I'm looking for any advice on the best way to refactor my server into separate files to better organize and group my functions. Any help is appreciated!
Thanks for reaching out From Retool's perspective - it's up to the developer's preference, so we don't necessarily have a best practice to recommend. For example, you can have one big file for registration and then mostly call imported helpers from the implementation functions, or you can register RPCs from multiple files.