I'm experimenting with some modifier stuff and it looks like it's handling the createModifier hook differently than specified in the RFC (and in Ember 3.8).
The first argument passed to createModifier is the result returned from the factoryFor API. It contains a class property, which gives you the the raw class (the default export from app/modifiers/foo.js)
However, this polyfill is passing the .class property itself here.
Hiya!
I'm experimenting with some modifier stuff and it looks like it's handling the
createModifier
hook differently than specified in the RFC (and in Ember 3.8).From the RFC:
However, this polyfill is passing the
.class
property itself here.I'll open a PR to address shortly.