-
Notifications
You must be signed in to change notification settings - Fork 377
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GraphQL: Report multiple query errors
- Loading branch information
Showing
16 changed files
with
234 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
{ | ||
|
||
"DEFAULT": [ | ||
"tests/test_graphql.py" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,7 +26,6 @@ def trace( | |
id: nil, | ||
&block | ||
) | ||
|
||
tracer.trace( | ||
name, | ||
continue_from: continue_from, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,29 @@ | ||
module Datadog | ||
module Core | ||
class Error | ||
attr_reader type: untyped | ||
attr_reader type: String | ||
|
||
attr_reader message: untyped | ||
attr_reader message: String | ||
|
||
attr_reader backtrace: untyped | ||
attr_reader backtrace: String | ||
|
||
def self.build_from: (untyped value) -> untyped | ||
interface _ContainsMessage | ||
def message: () -> String | ||
def class: () -> Class | ||
end | ||
|
||
def self.build_from: ((Error | Array[untyped] | ::Exception | _ContainsMessage | ::String) value) -> Error | ||
|
||
private | ||
def self.full_backtrace: (untyped ex) -> untyped | ||
def self.backtrace_for: (untyped ex, untyped backtrace) -> (nil | untyped) | ||
def self.full_backtrace: (Exception ex) -> String | ||
def self.backtrace_for: (Exception ex, String backtrace) -> void | ||
|
||
public | ||
|
||
def initialize: (?untyped? `type`, ?untyped? message, ?untyped? backtrace) -> void | ||
|
||
BlankError: untyped | ||
def initialize: (?Object? `type`, ?Object? message, ?Object? backtrace) -> void | ||
|
||
ContainsMessage: untyped | ||
BlankError: Error | ||
ContainsMessage: ^(Object) -> bool | ||
end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.