Skip to content

Commit

Permalink
Copy non-standard properites from field's config (#2116)
Browse files Browse the repository at this point in the history
Fixes #2114
Partly reverts #2089
  • Loading branch information
IvanGoncharov authored Aug 23, 2019
1 parent 43c6657 commit 3104e1f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/type/definition.js
Original file line number Diff line number Diff line change
Expand Up @@ -791,6 +791,7 @@ function defineFieldMap<TSource, TContext>(
}));
return {
...fieldConfig,
name: fieldName,
description: fieldConfig.description,
type: fieldConfig.type,
Expand Down Expand Up @@ -1423,6 +1424,7 @@ function defineInputFieldMap(
);

return {
...fieldConfig,
name: fieldName,
description: fieldConfig.description,
type: fieldConfig.type,
Expand Down

0 comments on commit 3104e1f

Please sign in to comment.