Skip to content

Commit 3104e1f

Browse files
Copy non-standard properites from field's config (#2116)
Fixes #2114 Partly reverts #2089
1 parent 43c6657 commit 3104e1f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/type/definition.js

+2
Original file line numberDiff line numberDiff line change
@@ -791,6 +791,7 @@ function defineFieldMap<TSource, TContext>(
791791
}));
792792

793793
return {
794+
...fieldConfig,
794795
name: fieldName,
795796
description: fieldConfig.description,
796797
type: fieldConfig.type,
@@ -1423,6 +1424,7 @@ function defineInputFieldMap(
14231424
);
14241425

14251426
return {
1427+
...fieldConfig,
14261428
name: fieldName,
14271429
description: fieldConfig.description,
14281430
type: fieldConfig.type,

0 commit comments

Comments
 (0)