Deduce content type name from ContentTypeRegistry for debugging #693

mfrederickson opened this Issue Aug 31, 2013 · 0 comments


None yet

4 participants


Off the cuff, I might add a method to Content which iterates over ContentTypeRegistry (which is a dict of ['string'] = Class) and checks if (this instanceof klass) { return key; } where klass is the value from ContentTypeRegistry.

See comments on #683

@bamnet bamnet was assigned Aug 31, 2013
@ddbruce ddbruce assigned khanh and unassigned bamnet May 28, 2014
@khanh khanh was unassigned by augustf Mar 24, 2015
@augustf augustf closed this Aug 21, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment