josdejong/jsoneditor

Autocompletion: supporting self references

Open

#1450 aperta il 7 lug 2022

Vedi su GitHub
 (1 commento) (0 reazioni) (0 assegnatari)JavaScript (2034 fork)batch import
bughelp wanted

Metriche repository

Star
 (10.781 star)
Metriche merge PR
 (Merge medio 15h 36m) (3 PR mergiate in 30 g)

Descrizione

Hi,

Look like self references are not supported by the schema autocompletion feature. For example, on self key in the example below:

   {
        "type": "object",
        "properties": {
            "self": {
                "$ref": "#"
            },
            "bar": {
                "type": "string",
                "enum": [
                    "A",
                    "B"
                ]
            }
        },
        "additionalProperties": false
    }

Guida contributor