Skip to content

No longer possible to get resultSourceMap from sanity client. #380

@devinatbryt

Description

@devinatbryt

Is there an existing issue for this?

  • I have searched the existing issues

Code of Conduct

  • I agree to follow this project's Code of Conduct

Code Sandbox link

No response

Bug report

When enabling visual editing you have to serialize the data within your html markup. It seems that when using the "makeSafeQueryRunner" function, there is no way to allow the function to return anything other than the actual data. This makes it impossible to use with the visual editor.

Maybe additional configuration could be added to allow for this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingenhancementNew feature or requestgroqd-v1Related to the newer `v1.x` package

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions