First pass at handling circular references when dereferencing, generating examples, and generating schemas. The examples and schemas could use more work but nothing infinitely loops anymore.
This adds a new origin link relation with href set to http://refract.link/circular-reference/ so you can detect circular refs. Please let me know if you need any other info attached to the elements!
cc @Baggz, feel free to merge & release if this looks good.
Coverage increased (+0.5%) to 99.142% when pulling b427216b6af539f69162aff50ec65ea23eaedf3c on daniel/circular-refs into 7563528c8c0e5e6269afce9ce0e192cb701b6654 on master.
First pass at handling circular references when dereferencing, generating examples, and generating schemas. The examples and schemas could use more work but nothing infinitely loops anymore.
This adds a new
origin
link relation withhref
set to http://refract.link/circular-reference/ so you can detect circular refs. Please let me know if you need any other info attached to the elements!cc @Baggz, feel free to merge & release if this looks good.