Skip to content

Prefetch error if query is a function #153

@alidcast

Description

@alidcast

If I prefetch a query that is a function I get the following error:

You must wrap the query string in a "gql" tag.

However, it works as an object.

I couldn't find anything in the documentation about this - is prefetching only intended to work with objects?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions