-
Task
-
Resolution: Done
-
Neutral
-
None
-
None
-
None
-
-
Empty show more show less
-
Yes
-
HL & LD 29
-
1
We should recommend this as a best practice in the contenttype documentation and use it in the demos. It should be explicitly stated in the content types documentation.
It has implications for GraphQL and could have other implications in the future.
Example - content type should be called "book" not "books", or ct should be called "auhor" not "authors".
This tutorial and demonsgtration project should be updated to reflect this: https://docs.magnolia-cms.com/product-docs/Apps/My-first-content-app.html
Full best practice:
Name contenttyupe singular. Name app plural with "-app" suffix. Name workspace plural.
Example:
contentType name: book
app name: books-app
workspace name: books
- causes
-
MGNLCT-171 CT-based apps' names way too related to content type names
- Open
-
NPMCLI-260 mgnl create-app command must create files complying with naming best practice
- Selected
- is related to
-
MGNLGQL-68 Good query names for plural contenttype names like 'authors'
- Open
- relates to
-
MGNLGQL-70 DOC: Finalize GraphQL doc set for module release
- Closed