Add a helper method in BaseObject to define fields with `connection_type`, reducing code duplication and giving more context about the type of fields.
Add a helper method in BaseObject to define fields with `connection_type`, reducing code duplication and giving more context about the type of fields.