-
Notifications
You must be signed in to change notification settings - Fork 170
Open
Description
It gets method names like get_apiservice, get_apiservices.
- The updated algorithm on master branch correctly splits
underscore_entity("APIService")->"api_service". - However,
parse_definitioncomputes prefix it can match against the given lowercase plural, up to the last capital letter.- Normally you get e.g. "NetworkP" + "olicy"/"olicies" -> "network_p" + "olicy"/"olicies".
- But when prefix is all uppercase e.g. "APIS", we compute
underscore_entity("APIS")->"apis", to which we append "ervice"/"ervices" to construct "apiservice", "apiservices"☹️
We have all the information here that "Service" is a separate word, but we're not passing it into underscore_entity. 🤔
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels