josdejong/jsoneditor

Autocompletion: supporting self references

オープン

#1,450 opened on 2022/07/07

 (1 件のコメント) (0 件のリアクション) (0 人の担当者)JavaScript (2,078 件のフォーク)batch import
bughelp wanted

Repository metrics

Stars
 (12,263 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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
    }

コントリビューターガイド