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

Allow to set a query field to return any content item type

    XMLWordPrintable

Details

    • Icon: Story Story
    • Resolution: Unresolved
    • Icon: Medium Medium
    • None
    • 2.5.9, 3.0.3
    • None

    Description

      Query fields currently require that a single return type. While it enforces a strongly typed repository, and benefits GraphQL, it may not always be what people want.

      Add an option "any" to the list.

      Note: a more creative alternative would be to add "virtual" types to the list, that can be defined within the query field package. They would define a set of common arguments, potentially mapped to fields from different types; a kind of pre-version of abstract types.

      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: