Question
Extension points at compiler
Hi folks,
I need to add some extra validation at a custom metadata.
Let me start from beginning.
Swiz framework (http://code.google.com/p/swizframework/) uses metadatas to made IoC.
One metadata is this:
[Autowire(bean="helloController")]
But, if I made any miss-spell, like [Autowire(bean="heloControler")] (forgot the second L) it will produce errors at runtime.
What I wanna is to create a validation, to validate this at compile time.
I saw on flex-sdk this BindableExtension, who "changes" my actionscript code to make it Bindable. Is there any way to register one extension at flex-config.xml or using a command line parameter?
BTW, is extension the right path to follow?
VELO
I need to add some extra validation at a custom metadata.
Let me start from beginning.
Swiz framework (http://code.google.com/p/swizframework/) uses metadatas to made IoC.
One metadata is this:
[Autowire(bean="helloController")]
But, if I made any miss-spell, like [Autowire(bean="heloControler")] (forgot the second L) it will produce errors at runtime.
What I wanna is to create a validation, to validate this at compile time.
I saw on flex-sdk this BindableExtension, who "changes" my actionscript code to make it Bindable. Is there any way to register one extension at flex-config.xml or using a command line parameter?
BTW, is extension the right path to follow?
VELO
