Skip to content

Commit

Permalink
Removes non-standard properties from field objects (#2117)
Browse files Browse the repository at this point in the history
Reverts #2116
  • Loading branch information
IvanGoncharov committed Sep 15, 2019
1 parent 4c4df72 commit 609a3b8
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/type/definition.js
Expand Up @@ -791,7 +791,6 @@ function defineFieldMap<TSource, TContext>(
}));
return {
...fieldConfig,
name: fieldName,
description: fieldConfig.description,
type: fieldConfig.type,
Expand Down Expand Up @@ -1424,7 +1423,6 @@ function defineInputFieldMap(
);

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

0 comments on commit 609a3b8

Please sign in to comment.