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

Fail to create schema of array of strings #24

Open
SSNikolaevich opened this issue Nov 3, 2022 · 1 comment
Open

Fail to create schema of array of strings #24

SSNikolaevich opened this issue Nov 3, 2022 · 1 comment

Comments

@SSNikolaevich
Copy link

Conversion attempt of ["1", "two", "3", "four"] to schema throws exception with message "Failed to load schema: Cannot read properties of null (reading 'type')".
The cause is that mergeSchemaObjs returns null because list items schemas restored as {"type": "string", "format": "utc-millisec"} for "1" and "3", and {"type": "string"} for the rest.

@suspreed
Copy link

Were you able to find a fix for this?

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

2 participants