absinthe icon indicating copy to clipboard operation
absinthe copied to clipboard

`import_sdl` could not parse SDL

Open thecristen opened this issue 9 months ago • 3 comments

If submitting a bug, please provide the following:

Environment

  • Elixir version (elixir -v): Elixir 1.16.0 (compiled with Erlang/OTP 26)
  • Absinthe version (mix deps | grep absinthe):
  • absinthe 1.7.6 (Hex package) (mix) locked at 1.7.6 (absinthe) e7626951
  • absinthe_client 0.1.0 (Hex package) (mix) locked at 0.1.0 (absinthe_client) a7ec3e13
  • Client Framework and version (Relay, Apollo, etc): n/a

Expected behavior

No errors in compilation

Actual behavior

== Compilation error in file lib/open_trip_planner_client/schema.ex ==
** (Absinthe.Schema.Notation.Error) `import_sdl` could not parse SDL:
An unknown error occurred during parsing: errors were found at the given arguments:

  * 1st argument: not an already existing atom
 ([])
    lib/open_trip_planner_client/schema.ex:10: (module)

Relevant Schema/Middleware Code

Adding this file with import_sdl: https://github.com/opentripplanner/OpenTripPlanner/blob/dev-2.x/src/main/resources/org/opentripplanner/apis/gtfs/schema.graphqls

thecristen avatar May 16 '24 22:05 thecristen