Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Schema definition UI can't validate schema nested values within arrays #67

Open
cindymc opened this issue Apr 26, 2018 · 0 comments
Open

Comments

@cindymc
Copy link

cindymc commented Apr 26, 2018

This is related to #43, which was closed, but not resolved. The problem arises when a schema element refers to one defined above, as in the example shown below. This fails to validate in the UI, but will validate when posting the UI-generated CURL command from the command line.

[{ "namespace": "com.example", "name": "SearchRecordAttr", "type": "record", "fields":[ { "name": "productUrl", "type": "string" } ] }, { "namespace": "com.example", "name": "SearchRecord", "type": "record", "fields":[ { "name": "attributes", "default":null, "type": ["null", "SearchRecordAttr"]} ] }]

@cindymc cindymc changed the title Schema definition UI can't validate schema with arrays Schema definition UI can't validate schema nested values within arrays Apr 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant