Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Grzegorz Krempa 1 post 71 karma points
    21 days ago
    Grzegorz Krempa
    0

    Umbraco HeartCore - nested Content Picker won't work with GraphQL

    Hi Friendly Community :)

    I have a problem regarding querying the GraphQL (my first steps with this one) - I have document type called "Car brand", which contains only 1 property - TextString: enter image description here

    and second one - "Car model", which contains 2 properties: car model name and car brand, which is content picker. enter image description here

    Now, I would like to query for that data using GraphQL, so I've wrote simple request which works perfectly with simple data type (TextString): enter image description here

    but it is not working with content picker:

    enter image description here

    The error that I am getting is "Error trying to resolve field 'carModel'.". I think that I will have more nested content pickers in the future, but firstly I need to query this one.

    If someone could help me with this one - I will be more than happy, thanks ;)

Please Sign in or register to post replies

Write your reply to:

Draft