Skip to content

Query not working #8

@federicocappellotto97

Description

@federicocappellotto97

My query is not working, i can't get the parentTitle. But if i put the query in the playground Vision of Sanity it works. Maybe something with the character '^'?

`*[_type == 'page' && slug.current == '${slug}'][0]{
                    title,
                    components {
                            "parentTitle": ^.title
                    }
                }`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions