a8n: Support finding Campaigns/Changesets by ID in GraphQL API
Created by: mrnugget
This fixes the "invalid id" error reported by @felixfbecker on Slack.
Besides adding "Campaign" to the switch-statement in NodeByID
this also changes NodeByID
to pass on the A8NStore
set on the schemaResolver
.
We should probably rethink why NodeByID
is exported at all (it's not used outside of graphqlbackend
) and whether or not it should be a method on *schemaResolver
.