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

import_sdl could not parse SDL #1317

Open
thecristen opened this issue May 16, 2024 · 1 comment
Open

import_sdl could not parse SDL #1317

thecristen opened this issue May 16, 2024 · 1 comment

Comments

@thecristen
Copy link

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

@benwilson512
Copy link
Contributor

Hi @thecristen can you also show the Elixir module you had which was importing this SDL?

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

2 participants