noahemmet
noahemmet
Hey, any chance of merging this? It would be nice to get some of those deprecation warnings cleaned up :)
No worries! Unfortunately no; I’ve had to pin to an earlier version of Apollo. It sort of feels like it’s missing a `directive_location` field or something, but I’m not sure...
Figured it out! The Vapor extension I was using wasn't including the `directives` field in the introspection query: https://github.com/StevenLambion/GraphQLRouteCollection/pull/3
Hmm, I suppose people might get a little confused, but I don't think a popup message is a good solution—it interrupts a user's workflow and I'd be pretty annoyed if...
You can add ```swift .package(url: "https://github.com/noahemmet/GraphQLRouteCollection.git", .branch("futures")) ``` to your `Package.swift`'s dependencies if you'd like to test. Please let me know if you find any bugs or weird behavior!
Just FYI, I opened a [`#graphql` channel](https://discord.gg/dRgCNBk) over on the Vapor Discord server, and I have [a branch](https://github.com/noahemmet/GraphQLRouteCollection/tree/swift-42) that at least compiles against the latest version of Vapor (with `Future`s),...
@stunjiturner https://github.com/StevenLambion/GraphQLRouteCollection/pull/2 might be of interest to you.