@snowtop/ent 0.1.0-alpha127 → 0.1.0-alpha128
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/graphql/graphql.js +1 -0
- package/package.json +1 -1
- package/parse_schema/parse.js +1 -1
package/graphql/graphql.js
CHANGED
package/package.json
CHANGED
package/parse_schema/parse.js
CHANGED
|
@@ -22,7 +22,7 @@ async function processFields(src, patternName) {
|
|
|
22
22
|
for (const name in m) {
|
|
23
23
|
const field = m[name];
|
|
24
24
|
//@ts-ignore type and other changed fields with different type in ProcessedField vs Field
|
|
25
|
-
let f = {
|
|
25
|
+
let f = { ...field, name };
|
|
26
26
|
f.hasDefaultValueOnCreate = field.defaultValueOnCreate != undefined;
|
|
27
27
|
f.hasDefaultValueOnEdit = field.defaultValueOnEdit != undefined;
|
|
28
28
|
f.hasFieldPrivacy = field.privacyPolicy !== undefined;
|