Improvement description
Currently you'll get an error message like
not allowed to create object <class>
as seen here:
|
if (!$me->omitPermissionCheck && !WorkspaceHelper::checkPermission($parent, 'create')) { |
The error message here could be improved by specifying which parent we're creating in, allowing the user to notice they've passed an invalid parent (this is especially important if they have a level of indirection between them and passing the parent, they don't pass it directly).
something like
not allowed to create object <class> at path <path>
would improve this significantly.
Improvement description
Currently you'll get an error message like
as seen here:
data-hub/src/GraphQL/Mutation/MutationType.php
Line 604 in 2c120fd
The error message here could be improved by specifying which parent we're creating in, allowing the user to notice they've passed an invalid parent (this is especially important if they have a level of indirection between them and passing the parent, they don't pass it directly).
something like
would improve this significantly.