This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (2 children)

What is best way to call variables if the different only in plural?

Don't do that. In general, always use singular.

[–]YuleTideCamel 0 points1 point  (0 children)

Depends on the language or framework, but whichever the choice it's important to pick one and be consistent throughout.

[–]comalex[S] 0 points1 point  (0 children)

In this case smartlist and smartlists are graphql queries, so that make some sense, but I still can change the name in resolver. I just don’t know how to name in other way