Skip to content

mnk-3 Reference type #3

@decaruju

Description

@decaruju

A field should be able to have a reference type, referencing another object using the following syntax:

---
User:
  name:
    type: str
    required: true
    index: true
  orders:
    type: reference Order 

Order:
  date:
    type: datetime
  products:
    type: reference Product 
  buyer:
    type: reference User 

Product:
  name:
    type: str
...

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions