wangscript / warp-persist

Automatically exported from code.google.com/p/warp-persist
0 stars 0 forks source link

Feature plugins #12

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Getting multiple module support right is tricky. It would be useful to have
some way to "extend" the DSL more easily.

Rough example (not sure if this would work in practice)
{{{
PersistenceService.usingHibernate(UnitAnnotation.class)
                  .with(Transactions.across(...).buildPlugin())
                  .with(DynamicFinders.forAll(any(),
annotatedWith(Finder.class)).buildPlugin())
                  .buildModule()
}}}

Original issue reported on code.google.com by robbie.v...@gmail.com on 22 Aug 2008 at 2:25

GoogleCodeExporter commented 9 years ago
Hmm. Sounds like it might be useful later down the line. For now I think we 
should leave the dsl as is. It is quite 
tight to its purpose.

Original comment by dha...@gmail.com on 22 Aug 2008 at 10:50

GoogleCodeExporter commented 9 years ago
Solved through Issue #6

Original comment by robbie.v...@gmail.com on 8 Sep 2008 at 4:55