GithubHelp home page GithubHelp logo

flutter-github-graphql-client's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

flutter-github-graphql-client's Issues

Missing steps in GitHub OAuth setup

Hello, I really enjoyed the new Github GraphQL tutorial. Thanks for your hard work!

I was able to get it to work after adjusting a few settings in the Github App created in Step 4. First I enabled the following permissions to "Read-only" (Issues and Pull-Requests):

Screen Shot 2020-07-08 at 2 45 12 PM

Second, I installed the App by visiting the "Install" tab and clicking Install for my account.

Screen Shot 2020-07-08 at 2 45 32 PM

After this everything worked great!

Not sure if I'm unique in experiencing this so I wanted to share. Thanks!

Works on Chromebook but with error messages in terminal output

Thanks for the codelab. I got it to work on my Chromebook. I added " gdk_set_allowed_backends("x11");" to the linux main.cc (see github issue #57932).

Just wanted to report some output from my terminal when using the desktop app.

`[30897:30999:0714/224556.039224:ERROR:gbm_wrapper.cc(271)] Failed to export buffer to dma_buf: No such file or directory (2)
[30897:30999:0714/224556.040362:ERROR:gbm_wrapper.cc(271)] Failed to export buffer to dma_buf: No such file or directory (2)
[30897:30999:0714/224556.041202:ERROR:gbm_wrapper.cc(271)] Failed to export buffer to dma_buf: No such file or directory (2)
[30897:30897:0714/224557.153617:ERROR:gl_surface_presentation_helper.cc(258)] GetVSyncParametersIfAvailable() failed for 1 times!
[30897:30897:0714/224557.185157:ERROR:gl_surface_presentation_helper.cc(258)] GetVSyncParametersIfAvailable() failed for 2 times!
[30897:30897:0714/224557.232237:ERROR:gl_surface_presentation_helper.cc(258)] GetVSyncParametersIfAvailable() failed for 3 times!
[31532:31532:0714/224617.732448:ERROR:edid_parser.cc(102)] Too short EDID data: manufacturer id
Opening in existing browser session.
[0714/224617.869794:ERROR:nacl_helper_linux.cc(308)] NaCl helper process running without a sandbox!
Most likely you need to configure your SUID sandbox correctly

`

Configure `build_runner` to generate GraphQL client library

It's already in step-5 and have create file build.yaml but when generate it with command

$ flutter pub run build_runner build --delete-conflicting-outputs

and look through lib/src/github_gql/ is missing some files like

├── github_oauth_credentials.dart
├── main.dart
├── src
 │   ├── github_gql
 │    │   ├── github_queries.ast.gql.dart
 │    │   ├── github_queries.graphql
 │    │   ├── github_queries.op.gql.dart
 │    │   └── github_queries.req.gql.dart
 │   └── github_login.dart
└── third_party
    └── github_graphql_schema
        ├── schema.public.ast.gql.dart
        ├── schema.public.graphql
        └── schema.public.schema.gql.dart

So, my expectation should have those file like this :

Screen Shot 2020-08-19 at 20 46 12

CMake Error at flutter/generated_plugins.cmake:13 (add_subdirectory)

CMake Error at flutter/generated_plugins.cmake:13 (add_subdirectory):
The source directory

C:/learning/github_graphql_client/windows/flutter/ephemeral/.plugin_symlinks/window_to_front/windows

does not contain a CMakeLists.txt file.
Call Stack (most recent call first):
CMakeLists.txt:51 (include)

Exception: Unable to generate build files

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.