Closed (fixed)
Project:
MyREST
Version:
1.0.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
18 Sep 2026 at 11:06 UTC
Updated:
18 Sep 2026 at 12:02 UTC
Jump to comment: Most recent
With generated_parent_directory left empty, the generator writes the generated module into the modules directory of MyREST itself and hides it from version control with a .gitignore of its own. On a site that installs MyREST with Composer - the normal way - that directory is replaced whole on every update, so the generated API of the site is deleted by an update and is in no repository the site keeps. The generated module is code of the site and belongs where the site's own modules are.
modules/custom, and refuse a directory inside the MyREST project with a message saying why..gitignore: the generated module is meant to be committed with the site.Everything.
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #4
sergeydruua commentedComment #6
sergeydruua commented