Open cmars opened 2 years ago
Looks like https://www.npmjs.com/package/pluralize might be decent and extensible. Your domain has a limited vocabulary so if you had to add a special case, this library supports it.
operation.added
pluralize(resourceName)
it and check if the values are the samewant one of us to take a stab?
Yes please! 🙏
This will likely require some slight smarts because natural language, but all resource names should be plural nouns.