oliyh / locksmith

Want to use GraphQL with Clojure/script but don't want keBab or snake_keys everywhere? Use locksmith to change all the keys!
61 stars 2 forks source link

Support circular references #2

Open oliyh opened 6 years ago

oliyh commented 6 years ago

Need to:

  1. Detect circular references and avoid building renamers more than once
  2. Use already built renamers conditionally on circular references with some sort of trampoline
oliyh commented 6 years ago

A temporary measure might be just to limit depth to some arbitrary number like 5 (maybe make this a dynamic var)