Uploaded image for project: 'Magnolia GraphQL'
  1. Magnolia GraphQL
  2. MGNLGQL-174

Introduce graphQL types for standard apps

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • High
    • None
    • None
    • None

    Description

      It should not be a problem to add references to standard apps like the categories app, which is automatically installed. Right now, if I add a reference to my content type, I get an error.

       

      Content type:

      datasource:
        workspace: <some workspace>
        autoCreate: true
      model:
        nodeType: <some nodeType>
         properties:
          - [...]
          - name: category
            label: Category
            type: reference:category 

       

      Error:

      ERROR info.magnolia.event.SimpleEventBus 30.10.2023 07:57:57 -- Exception caught when dispatching info.magnolia.graphql.core.GraphQLDefinitionChangedEvent with info.magnolia.graphql.core.GraphQLProvider$$Lambda$1494/0x0000000841429040 eventHandler.
      graphql.AssertException: type Category not found in schema 

       

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              Unassigned Unassigned
              tobias.kerschbaum Tobias Kerschbaum
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Checklists

                  Task DoD