Skip to content

Commit

Permalink
[schema] Allow problems from external schema creators to flow through (
Browse files Browse the repository at this point in the history
  • Loading branch information
rexxars committed Dec 25, 2018
1 parent 4787bb1 commit a946f2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@sanity/schema/src/sanity/validateSchema.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ function combine(...visitors) {
_problems: result._problems.concat(res._problems)
}
},
{...schemaType, _problems: []}
{_problems: [], ...schemaType}
)
}
}
Expand Down

0 comments on commit a946f2e

Please sign in to comment.