You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is discussed in the graphql specification here.
I noticed when using the GitHub API to test the changes I made for blockstring and descriptions. This API uses these quite a bit. Here's a little test I wrote to show the issue:
import XCTest
import GraphQL
final class graphQLTests: XCTestCase {
func testParseAmpersand() throws {
let source = #"""
"""
Represents a Git blob.
"""
type Blob implements Node & GitObject {
"""
An abbreviated version of the Git object ID
"""
abbreviatedOid: String!
"""
Byte size of Blob object
"""
byteSize: Int!
# other fields omitted
}
"""#
let doc = try parse(instrumentation: NoOpInstrumentation, source: Source(body: source))
for def in doc.definitions {
print( def.kind )
}
}
}
Yes, there are a lot of features that were added to the spec that we didn't implement yet. For example, allowing interfaces to inherit from other interfaces is also something that we need to update. Like I said in a previous comment, most of the work for any new feature supported upstream can be "sourced" directly from the canonical implementation. 🙂
Uh oh!
There was an error while loading. Please reload this page.
This is discussed in the graphql specification here.
I noticed when using the GitHub API to test the changes I made for blockstring and descriptions. This API uses these quite a bit. Here's a little test I wrote to show the issue:
Outputs the error:
I will likely try to add support for this, but I don't think I'll have time this week.
The text was updated successfully, but these errors were encountered: