Closed jinnovation closed 1 month ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 62.90%. Comparing base (
8082e53
) to head (96177be
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
To implement #212, we need the ability to convert from the kind name, e.g.
Pod
, to the plural form, e.g.pods
. This would be analogous to the existingkele--get-singular-for-plural
, e.g.kele--get-plural-for-kind
.Since we'd rather not implement one function for each 2-permutation of singular/plural/kind, we generalize the existing
get-singular-for-plural
to allow for looking up a "discovery resource" by any given key within it. This will allow us to look up with, say,singularName
, and use the retval to get thekind
.