Closed RobbieTheWagner closed 6 years ago
That is the same issue that affects ember-metrics, which is mentioned in the README. You are using the includes
option as intended for addons like this.
@kellyselden my only concern is that this is nested, so people may not realize that an addon that uses another addon isn't importing modules. Any suggestions to address that?
Any suggestions to address that?
Two things come to mind. Addons could be updated to use import
s instead of dynamic lookups, or we can scan all code and try and detect these scenarios. The latter will be very difficult and probably slow down the build.
ember-changeset-validations uses ember-validators, but does not import the modules specifically https://github.com/poteto/ember-changeset-validations/blob/master/addon/validators/presence.js#L2
I get errors that
presence
is not a valid validator type because it is stripped out. I'm manually including them for now, but wanted to bring up the issue.