schematic icon indicating copy to clipboard operation
schematic copied to clipboard

No support for `anyOf`

Open theofidry opened this issue 6 years ago • 3 comments

I wanted to try it out on Infection but looks like its choking on the anyOf type:

"type": {
                        "anyOf": [
                            {
                                "type": "boolean"
                            },
                            {
                                "type": "object",
                                "additionalProperties": false,
                                "properties": {
                                    "ignore": {
                                        "type": "array",
                                        "items": {"type": "string"}
                                    },
                                    "settings": {
                                        "type": "object",
                                        "additionalProperties": false,
                                        "properties": {
                                            "in_array": {"type": "boolean"},
                                            "array_search": {"type": "boolean"}
                                        }
                                    }
                                }
                            }
                        ]
                    }

theofidry avatar Jul 27 '19 19:07 theofidry

This package is very limited and probably shouldn't be used for anything serious.

shadowhand avatar Jul 29 '19 13:07 shadowhand

Damn too bad, it looked promising^^

theofidry avatar Jul 29 '19 13:07 theofidry

It really needs a maintainer... if you want to fork it.

shadowhand avatar Jul 29 '19 13:07 shadowhand