Adonis:make and pluralize


Hello. I wonder, what is the purpose of using pluralize module in name generator of adonis cli? For example, i tried to generate a middleware today, and when i passed string ‘UserData’ as name for my new middleware, i got a ‘UserDatum.js’ file. Singularization itself is highly unexpected. There’s no word about it in guides, and middleware generation example looks simple and clear. I bet you’ve tried to make filenames more pedantic and pretty for developers, but i believe unexpected work is worse. Thank you.