Need to account for `reopen` and `@for`
Gaurav0 opened this issue · 3 comments
Gaurav0 commented
Looking at emberjs/ember.js#16247 and at the source of https://github.com/emberjs/ember.js/blob/v3.0.0/packages/ember-routing/lib/ext/controller.js
The underlying issue is that ember-jsonapi-docs do not account for the use of reopen and @for in source documentation.
Gaurav0 commented
The fix is likely to be very similar to the one for uses here:
ember-jsonapi-docs/lib/add-inherited-items.js
Lines 42 to 44 in d8c217d
toddjordan commented
@for still works. We just need to change it back from @for ControllerMixin to @for Ember.ControllerMixin
toddjordan commented
Will track in ember-learn/ember-api-docs#468