You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think we should document what creating a module does, ie collection, schema, fragment and takes a typeName to make sure they don't pluralize it. However, with this convention, it seems like the folder name when created doesn't add an 's'.
@eric-burel I figured it out. Looks like there is a naming convention collision. When you generate the tests, it creates folders like gorilla instead of gorillas. The folders should use collectionName instead of typeName correct?
Currently when you generate a module it does this:
collectionName: 'Movies', typeName: 'Movies',
instead of this:
collectionName: 'Movies', typeName: 'Movie',
causing this error:
Error: Field "Query.movies" can only be defined once.
The text was updated successfully, but these errors were encountered: