Skip to content

Instantly share code, notes, and snippets.

@lunks
Created October 26, 2017 16:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lunks/419ed31ed33894cacd986f5ae6de3177 to your computer and use it in GitHub Desktop.
Save lunks/419ed31ed33894cacd986f5ae6de3177 to your computer and use it in GitHub Desktop.
Apollo Proxy woes
time="2017-10-26T14:24:42-02:00" level=debug msg="Got to backend... about to start query"
Started POST "/graphql" for ::1 at 2017-10-26 14:24:42 -0200
Processing by GraphqlController#execute as */*
Parameters: {"query"=>"query{organization(id:\"1\"){name}}", "variables"=>{"input"=>{"duration"=>"1h", "imageUrl"=>"google.com", "location"=>"Jedi", "points"=>50, "startedAt"=>"2017-05-12", "title"=>"Woot"}, "organizationId"=>"1"}, "operationName"=>"", "extensions"=>nil, "graphql"=>{"query"=>"query{organization(id:\"1\"){name}}", "variables"=>{"input"=>{"duration"=>"1h", "imageUrl"=>"google.com", "location"=>"Jedi", "points"=>50, "startedAt"=>"2017-05-12", "title"=>"Woot"}, "organizationId"=>"1"}, "operationName"=>"", "extensions"=>nil}}
User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
time="2017-10-26T14:24:42-02:00" level=debug msg="Capturing trace." bucket=93 isError=true signature="query{organization(id:\"\"){name}}"
Started POST "/graphql" for ::1 at 2017-10-26 14:26:22 -0200
Processing by GraphqlController#execute as */*
Parameters: {"query"=>"query {\n organization(id: \"1\") {\n name\n }\n}\n", "variables"=>{"organizationId"=>"1", "input"=>{"title"=>"Woot", "points"=>50, "location"=>"Jedi", "duration"=>"1h", "startedAt"=>"2017-05-12", "imageUrl"=>"google.com"}}, "graphql"=>{"query"=>"query {\n organization(id: \"1\") {\n name\n }\n}\n", "variables"=>{"organizationId"=>"1", "input"=>{"title"=>"Woot", "points"=>50, "location"=>"Jedi", "duration"=>"1h", "startedAt"=>"2017-05-12", "imageUrl"=>"google.com"}}}}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment