Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
No warning for piece types adding a field called "type" #1365
Comments
|
Hint: this could be checked for in |


Right now there's no warning for creating a piece type with new added field with
name: 'type'. This is used by Apostrophe already and any data users attempt to store there will be overridden.I attempted to solve this by adding it to the
forbiddenFieldsarray in doc-type-manager, but that was too far-reaching. There might need to be solution closer tied toapostrophe-pieces.