Closed danbev closed 1 year ago
The last commit (https://github.com/seedwing-io/seedwing-policy/pull/201/commits/035829b5941fa3dcbe56b8a87b1f4bc6e27a9ff4) is mainly a suggestion for further work and will produce the following output in the playground:
The error message itself i not very nice but that can probably be improved.
@ctron Thanks for the review!
This commit adds a check to make sure that duplicate field names cause an error to be reported.
For example, with this commit starting the swio server will generate the following error:
Fixes: https://github.com/seedwing-io/seedwing-policy/issues/181