Skip to content

Using for calls between flutter and a flutter plugin #18

Open
@ghost

Description

Could you make an example where you don't use an endpoint url ?

The reason is because I have to write plugins in golang and wrap in Java and swift. Graphql is a really nice way to avoid having to write a ton of java and swift code on a large API.
So from flutter I just call a single method and it passes through to the golang layer which then sees the query and does it's thing and returns the graphql response
It's not the fastest but it's convenient.
It's also kind of nice because I can use the same technique for making server caller from flutter also, which is when of course I do need an endpoint

Inside the plugin I use golang which has pretty good graphql support including resolvers.

If you want more info just ask.
If your super busy just say and I can try to do it myself and publish and example.

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