remorses / mongoke

https://mongoke.now.sh/docs/
216 stars 12 forks source link

[Improvement] Better plurals #4

Closed khaosdoctor closed 4 years ago

khaosdoctor commented 4 years ago

This is just an improvement I thought about while demoing on a live stream today. But we had a type called Activity and Mongoke made it Activitys which is a wrong plural, should be "Activities"

remorses commented 4 years ago

There are too many exceptions to plural names, like the plural of Money would not be Moneys or Moneis but Money

What about adding a ‘Nodes’ postfix, like ‘ActivityNodes’?

khaosdoctor commented 4 years ago

I changed to contribution, this way we made "contributions" so things got quite ok. Isn't there a library that would help you do the plurals?

remorses commented 4 years ago

I removed plurals in version 1.4, now to get more items you can use ContributionNodes or ActivityNodes

pull the image again to get the latest

The api can now be considered stable and won't have any breaking change in the near future