Uploaded image for project: 'Content Types'
  1. Content Types
  2. MGNLCT-169

DOC: Document that contenttype names should be singular

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Neutral Neutral
    • None
    • None
    • None
    • 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

       

        Acceptance criteria

              mdrapela Martin Drápela
              czimmermann Christopher Zimmermann
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: