Skip to content

Extensions #367

Open
Open
@tculshaw

Description

@tculshaw

Hi,

First of all, awesome library - thankyou!!

I know this was opened on #89.

The extensions field IS part of the standard (albeit as an optional field), see https://github.com/graphql/graphql-spec/blob/main/spec/Section%207%20--%20Response.md , and (as #89 quoted) "would be easy to implement - maybe as an Option<serde_json::Value>". I think it DOES need to be an Option<serde_json::Value>

I'm trying to introduce a rate throttle on a Shopify Graphql based workflow which uses the extensions field to show associated costs of calls.

I'm trying to figure out the best way to do this with the existing code (may a trait on the Response?), but I'm a bit of a Rust newbie.

Or is there any plan to add this field directly any time soon?

Many Thanks,

Tony

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions