fix: display of import path #922
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fix display of import path
In v2.0.0 via https://github.com/ember-learn/ember-cli-addon-docs/pull/831/files#diff-7cd3d2b711dc840f44e1d648241f814f51ffef5405f9e4b0b474f11cebb1eb37R6, a refactor was made to use
@showImportPaths
instead ofshowImportPaths
, butshowImportPaths
is not an attribute but a property fromx-class
component, see https://github.com/ember-learn/ember-cli-addon-docs/blob/master/addon/components/api/x-class/component.js#L16Current behavior

New behavior

I really don't know if i should add some tests for this, as project is in maintenance mode and as far as i can see there is no test around that. But maybe i missed something, if you feel like we should start to add tests on these components i will add one.
Note that it is sure that
ember-beta
andember-canary
scenarios will not pass for various reasons, including this one ->