danielgtaylor / eidolon

Generate JSON or JSON Schema from Refract & MSON data structures
MIT License
6 stars 1 forks source link

Add meta.ref when dereferencing #1

Closed danielgtaylor closed 8 years ago

danielgtaylor commented 8 years ago

This uses Refract's meta.ref property to set the ID (as a string) of the referenced type when dereferencing. This means that both inheritance and mixins/includes can be traced back to their original source after dereferencing a data structure.

cc @Baggz

Baggz commented 8 years ago

Good to go! :+1: