Skip to content

a8n: Support finding Campaigns/Changesets by ID in GraphQL API

Administrator requested to merge a8n/find-by-id into master

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.

Merge request reports

Loading