Skip to content
This repository has been archived by the owner on Dec 15, 2018. It is now read-only.

Pipeline configure API too verbose #26

Open
Ortuna opened this issue Mar 28, 2014 · 0 comments
Open

Pipeline configure API too verbose #26

Ortuna opened this issue Mar 28, 2014 · 0 comments

Comments

@Ortuna
Copy link
Owner

Ortuna commented Mar 28, 2014

Specifying the pipeline inside the config block can be removed(config.pipeline = Padrino::Pipeline::AssetPack)

Instead of registering Padrino::Pipeline, we should register Padrino::Pipeline::AssetPack or Padrino::Pipeline::Sprockets. This would also allow for fast config failures closer to the users code incase of invalid configuration. Because the pipeline would be known and allowed options for that pipeline can be retrieved. Right now during the config block the pipeline can be anything.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant