Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Consider to use GraphQL types in the singular #119

Open
orpheuslummis opened this issue May 12, 2023 · 1 comment
Open

Consider to use GraphQL types in the singular #119

orpheuslummis opened this issue May 12, 2023 · 1 comment

Comments

@orpheuslummis
Copy link
Contributor

orpheuslummis commented May 12, 2023

IMO, collection names are best expressed as singular for the (most usual) case in which every document represents 'one object'.

Plus it is inconsistently used currently, sometimes it is singular other times plural

@fredcarle
Copy link

Technically, since a collection represents a group of objects, it should probably be plural. If we follow GraphQL convention, since we return a list, the name should be plural. The schema however can be singular. How we best achieve that is subject to discussion.

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

No branches or pull requests

2 participants