fusion-core
                                
                                 fusion-core copied to clipboard
                                
                                    fusion-core copied to clipboard
                            
                            
                            
                        Add error message to catch a plugin being added as a middleware
Need to fix flow error. Also, this is not greenkeeping. I'd say bugfix might be a more appropriate tag.
@KevinGrandon I think it's ok to add runtime checks for these, at least for now. We've had a few cases of post-migration code throwing bad errors and wasting people's time that could've been avoided by surfacing errors such as this. Also, the test suite already has a lot of tests similar to this one.
Codecov Report
:exclamation: No coverage uploaded for pull request base (
master@fb86e7f). Click here to learn what that means. The diff coverage is100%.
@@            Coverage Diff            @@
##             master     #349   +/-   ##
=========================================
  Coverage          ?   93.23%           
=========================================
  Files             ?       18           
  Lines             ?      458           
  Branches          ?       92           
=========================================
  Hits              ?      427           
  Misses            ?       17           
  Partials          ?       14
| Impacted Files | Coverage Δ | |
|---|---|---|
| src/base-app.js | 90.11% <100%> (ø) | 
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact),ø = not affected,? = missing dataPowered by Codecov. Last update fb86e7f...30aae8c. Read the comment docs.
@KevinGrandon @lhorie please do review ( updated tag to bugfix and flow passes )