Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

rework pluralisation mechanism #34

Open
kristofsajdak opened this issue Feb 2, 2015 · 1 comment
Open

rework pluralisation mechanism #34

kristofsajdak opened this issue Feb 2, 2015 · 1 comment

Comments

@kristofsajdak
Copy link

Currently Harvest uses inflect to transform a singular noun into a plural
which can be awkward at times : e.g. trackingDatum

@ssebro
Copy link

ssebro commented Feb 4, 2015

I think a bigger issue is that sometimes you may pick a noun that has unclear singular/plural forms, e.g. data. Data is both plural and singular, and datum is also a singular version of data - both are correct. So trackingData is fine, and the plural of trackingData is trackingData, HOWEVER, the singular of trackingData (re:inflect), is trackingDatum. We should include a bit of code in harvest that ensures that all names can be reliably converted back and forth, from singular to plural to back again.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants