Skip to content

Source generators for parsers #1

Description

@twgraham

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions