Add ability to configure SQLiteDatabaseConfiguration for support interfaces#58
Conversation
|
There is, actually. See this class. There's a public ArrayList you can add SQLiteCustomFunction and SQLiteCustomExtension instances to. |
|
The only way to feed a custom version of that class into your db connection is by overriding the default behavior of |
|
Ah... right, my mistake. Should've looked closer, sorry! |
|
I'm not sure what Travis' complaint is - I've run the tests against an emulator on my own laptop, tho. |
| } | ||
| } | ||
|
|
||
| public interface RequeryConfigurationOption { |
There was a problem hiding this comment.
This inner class can just be named ConfigurationOption I don't think the requery prefix adds much since it's already in a class prefixed with that.
| public interface RequeryConfigurationOption { | ||
| SQLiteDatabaseConfiguration apply(SQLiteDatabaseConfiguration configuration); | ||
| } | ||
| } No newline at end of file |
|
I think these changes look ok, just some minor comments. I have re-triggered the build too. Thanks |
|
Thanks! |
|
Thanks for taking the code! |
The support interfaces are helpful, but there's no way to configure the db created to use custom extensions and functions. This allows users to inject their own configurations.