Skip to content

Accessing data from the request for juniper_hyper #632

Open
@derust

Description

@derust

I'm new to rust, and try to start play with juniper, the experience is really nice, thank for your great job.

I'm currently use juniper_hyper since juniper_iron seems not support async resolve.

My problem is: I can't find a way to get the client's ip in graphql resolve, which juniper_iron can easily achieve.
https://graphql-rust.github.io/juniper/master/servers/iron.html#accessing-data-from-the-request

Is there any way for juniper_hyper to accessing data from the request like juniper_iron?

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    k::integrationRelated to integration with third-party libraries or systemssupport

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions