1

Steps that I made so far.

  • Downloaded an install the graphql plugin to execute the queries internally. plugin for graphql from plugin -> marketplace

  • Created this config file for executing local queries for the expected behavior. Ref

  • Which is working fine with performing general query. But with this config I am getting following error while building project and run it on a device. getting error like this

     Failed to parse GraphQL file E:\...\src\main\graphql\schema.graphql (9:13) Unsupported token `!`
    

FYI, I have already gone through this ticket from apollo-kotlin github page. Doesn't resolve my problem or I don't understand the solution there.

A S M Sayem
  • 2,010
  • 2
  • 21
  • 28

1 Answers1

1

For now, By deleting the E:\...\src\main\graphql\schema.graphql file, the project builds and runs just fine.

If anyone has more idea on this, let me know and I will update if I find anything else as well. Thanks

A S M Sayem
  • 2,010
  • 2
  • 21
  • 28
  • Your shcema must have `.graphqls` as an extension. Else it will be parsed as a query and trigger such errors. – mbonnin Sep 30 '22 at 15:21