Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-30228

eZ Matrix GraphQL support

    XMLWordPrintable

Details

    • Icon: Story Story
    • Resolution: Unresolved
    • Icon: High High
    • None
    • 2.5.0-beta1
    • None

    Description

      Add GraphQL support to the eZ Matrix FieldType. Since it is an external package, graphqk support should only be loaded if the graphql bundle is enabled.

      For each ezmatrix field definition, the configured rows should be offered for selection. Field values should yield the requested rows values for available lines:

      Example with a products content type that has a features matrix field definition with name and description rows:

      {
        content {
          products {
            edges {
              node {
                features {
                  name
                  description
                }
              }
            }
          }
        }
      }  
      
      {
        "data": {
          "content": {
            "products": {
              "edges": [
                "node": {
                  "features": [
                    {"name": "a", "description": "description for a"},
                    {"name": "b", "description": "description for b"},
                    {"name": "c", "description": "description for c"},
                  ]
                }
              ]
            }
          }
        }
      }
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            bertrand.dunogier@ibexa.co Bertrand Dunogier
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: