Skip to content
This repository was archived by the owner on Jun 20, 2024. It is now read-only.
This repository was archived by the owner on Jun 20, 2024. It is now read-only.

Bug when disallowing bigints and allowing null values. #119

@dbedari-indeed

Description

@dbedari-indeed

When using disallow_bigints_as_strings and allow_null_values, one ends up getting a schema as such:

                "someJsonField": {
                    "type": "integer",
                    "oneOf": [
                        {
                            "type": "string"
                        },
                        {
                            "type": "null"
                        }
                    ]
                },

While both work perfectly separately, combining them seems to give us a logical error.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions