You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please run the following commands from the Wikibase repository's root directory using [mwcli](https://www.mediawiki.org/wiki/Cli):
102
102
* running all tests: `mw dev mw exec -- composer -d ../.. phpunit:entrypoint extensions/Wikibase/repo/domains/reuse/tests/phpunit/`
103
-
* generating the GraphQL schema SDL: `mw dev mediawiki mwscript ./extensions/Wikibase/repo/domains/reuse/src/Infrastructure/GraphQL/GenerateSDL.php`
104
103
* linting:
105
104
*`mw dev mw composer phpcs:reuse`
106
105
*`mw dev mw composer phpcs repo/domains/reuse/`
106
+
* generating the GraphQL schema SDL: `mw dev mediawiki mwscript ./extensions/Wikibase/repo/domains/reuse/src/Infrastructure/GraphQL/GenerateSDL.php`
107
+
* To generate the GraphQL schema SDL, your workspace must include at least one extension that provides an `EntityValue` type (e.g. EntitySchema or Lexeme).
108
+
This ensures that there is at least one data type using the generic `EntityValue` type, so the schema generator does not produce different schemas depending on which extensions are installed.
0 commit comments