Skip to content

Don't require a batch changes resolver in OSS build

Warren Gifford requested to merge es/no-batches-oss into main

Created by: eseliger

This PR only includes the Batch Changes schema extension in the GraphQL API, when using an enterprise build. Hence, we don't need the defaultBatchChangesResolver anymore, and the API console in OSS isn't cluttered with a lot of inaccessible APIs. This also required refactoring how the node resolver works a bit, so we never call the BatchChangeByID resolver, when a user passes a node id like base64(BatchChange:123), but fail with the expected error.

I've split up the changes into separate commits.

Merge request reports

Loading