In C# targets, we provide a simple way for users to start using AnQL through simple builders, in particular .RegisterAllProperties(). This relies heavily on reflection to scan models for public properties and register them in the parser. However, it is more uncommon for parsers to be built dynamically than statically. If the model is known at compile time, we could take advantage of source generators to avoid a lot of the heavy lifting of reflection at runtime.
In C# targets, we provide a simple way for users to start using AnQL through simple builders, in particular
.RegisterAllProperties(). This relies heavily on reflection to scan models for public properties and register them in the parser. However, it is more uncommon for parsers to be built dynamically than statically. If the model is known at compile time, we could take advantage of source generators to avoid a lot of the heavy lifting of reflection at runtime.