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

🎁 Config option for coercing a factory class name #901

Merged
merged 1 commit into from
Jan 26, 2024

Commits on Jan 26, 2024

  1. 🎁 Config option for coercing a factory class name

    Prior to this commit, once we had a factory class name we always called
    `#constantize` on the string.
    
    With this commit, we retain that default behavior by:
    
    1. Introducing a function that does this thing
    2. Exposing a configuration end-point for that function
    
    Further, we add a looming Valkyrie convention; namely that for each
    legacy named model (e.g. `Work`) there will likely be a corresponding
    model with the Resrouce suffix (e.g. `WorkResource`).
    
    Related to:
    
    - scientist-softserv/hykuup_knapsack#125
    jeremyf committed Jan 26, 2024
    Configuration menu
    Copy the full SHA
    f9be858 View commit details
    Browse the repository at this point in the history