pitrou commented on code in PR #11920:
URL: https://github.com/apache/arrow/pull/11920#discussion_r887002900
##########
cpp/src/arrow/flight/middleware.h:
##########
@@ -61,6 +60,10 @@ enum class FlightMethod : char {
DoExchange = 9,
};
+/// \brief Get a human-readable name for a Flight method.
+ARROW_FLIGHT_EXPORT
+std::string FlightMethodToString(FlightMethod method);
Review Comment:
We already use the `ToString` convention in other places, so perhaps:
```suggestion
std::string ToString(FlightMethod method);
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]