Cockpit-HQ / Cockpit

Cockpit Core - Content Platform
https://getcockpit.com
Other
388 stars 47 forks source link

GraphQL Bug: Usage of "multiple" in a select leads to wrong schema #183

Closed pozylon closed 6 months ago

pozylon commented 7 months ago

Currently graphql always assumes String even if "multiple" is set to true, but in the db it's an array in those cases leading to a fatal error.

aheinze commented 7 months ago

what is allowMultipleValues here? There is only multiple as a field setting

pozylon commented 6 months ago
  1. tab

    Bildschirmfoto 2024-05-08 um 10 01 18
  2. tab

    Bildschirmfoto 2024-05-08 um 10 01 41
aheinze commented 6 months ago

Thanks! Should be fixed in the dev branch now