GraphQL: ACL (#5957)
* Spec Fix Spec * Add ACL Type + Input * Improvements * Fix
This commit is contained in:
committed by
Antonio Davi Macedo Coelho de Castro
parent
9cf3b52bef
commit
2290145e82
@@ -110,7 +110,7 @@ const load = function(
|
||||
return {
|
||||
...createdObject,
|
||||
updatedAt: createdObject.createdAt,
|
||||
...fields,
|
||||
...parseFields,
|
||||
...optimizedObject,
|
||||
};
|
||||
} catch (e) {
|
||||
@@ -153,6 +153,7 @@ const load = function(
|
||||
auth,
|
||||
info
|
||||
);
|
||||
|
||||
const selectedFields = getFieldNames(mutationInfo);
|
||||
const { keys, include } = extractKeysAndInclude(selectedFields);
|
||||
|
||||
@@ -179,7 +180,7 @@ const load = function(
|
||||
return {
|
||||
id,
|
||||
...updatedObject,
|
||||
...fields,
|
||||
...parseFields,
|
||||
...optimizedObject,
|
||||
};
|
||||
} catch (e) {
|
||||
|
||||
Reference in New Issue
Block a user