Refactor public node index fetching into separate function #40
Labels
flag:discuss
Flag issue that needs to be discussed before it can be implemented.
refactor
Simplifying or restructuring existing code or documentation.
I think it would make sense to handle the "getting" of the remote node index in its own function, analogous to how we handle the local nodes in
parse_nodes_as_dict
- and havecreate_federation_node_index
only be concerned with stitching them together.The node-getter-functions should probably also raise their own warnings, both to make testing easier and to keep responsibilities a bit more separated.
The text was updated successfully, but these errors were encountered: