Not sure what schema extensions you want to make, but we already have the concept of attributes that allow adding additional metadata to fields etc, which can be queried by code generators.
@Lakedaemon on github is already doing some refactoring for all our code generators, it be good to check your plans with him too.
So far all code-generators are part of the main project, but I am not against the idea of code-generator plugins loaded over a .dll/.so. Though if you want to write fully independent code generators, even easier would be to use the reflection interface in C++, since that means it can be a separate executable.