Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using for calls between flutter and a flutter plugin #18

Open
ghost opened this issue Apr 23, 2018 · 0 comments
Open

Using for calls between flutter and a flutter plugin #18

ghost opened this issue Apr 23, 2018 · 0 comments

Comments

@ghost
Copy link

ghost commented Apr 23, 2018

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants