Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for hierarchical record creation from generated factories #48

Merged
merged 1 commit into from
Nov 10, 2022

Commits on Nov 9, 2022

  1. Add support for hierarchical record creation from generated factories

    We now invoke factories automatically whenever they are
    found.
    
    A new diagnostic is reported if a `Create(dynamic value)` factory
    method is found in the record but it's not accessible to the
    generated factory in the current assembly. The diagnostic is
    nevertheless a warning since in that case we still generate our
    custom factory, but users will not get the benefit of invoking
    their custom factory (although this might be by design if it's
    just a coincidence in the method name and signature they
    chose for an entirely unrelated purpose).
    
    Closes #47
    kzu committed Nov 9, 2022
    Configuration menu
    Copy the full SHA
    09a45e4 View commit details
    Browse the repository at this point in the history