Page MenuHomePhabricator

Gateway throws error when slot and slots are both defined on MediaWikiRevision
Open, Needs TriagePublic

Description

Problem
When MediaWikiRevision.slot and MediaWikiRevision.slots are both defined with MediaWiki-extensions-GraphQL, then the GraphQL gateway throws the error:

GraphQLSchemaValidationError: Field "MediaWikiRevision.revid" can only be defined once.
Field "MediaWikiRevision.parent" can only be defined once.
Field "MediaWikiRevision.user" can only be defined once.
Field "MediaWikiRevision.anon" can only be defined once.
Field "MediaWikiRevision.timestamp" can only be defined once.
Field "MediaWikiRevision.size" can only be defined once.
Field "MediaWikiRevision.sha1" can only be defined once.
Field "MediaWikiRevision.comment" can only be defined once.
Field "MediaWikiRevision.parsedcomment" can only be defined once.
Field "MediaWikiRevision.tags" can only be defined once.
Field "MediaWikiRevision.roles" can only be defined once.
Field "MediaWikiRevision.slot" can only be defined once.
Field "MediaWikiRevision.slots" can only be defined once.
There can be only one type named "MediaWikiRevision".

Upstream

Event Timeline

dbarratt renamed this task from Gateway throws error when slot and slots are both defined on service to Gateway throws error when slot and slots are both defined on MediaWikiRevision.Mar 14 2020, 7:07 PM
dbarratt created this task.