Skip to content

Extend PatchSchema field Kind substitution magic to foriegn relations #1771

@AndrewSisley

Description

@AndrewSisley

Part of #1002

For example:

{ "op": "add", "path": "/Users/Schema/Fields/-", "value": {
	"Name": "foo", "Kind": "Users", "RelationType": 133, "RelationName": "foo"
}},

Should be converted to:

{ "op": "add", "path": "/Users/Schema/Fields/-", "value": {
	"Name": "foo", "Kind": 16, "RelationType": 133, "Schema": "Users", "RelationName": "foo"
}},

And similar for Many relations (e.g. "Users")

Metadata

Metadata

Assignees

Labels

area/schemaRelated to the schema systemfeatureNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions