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

Generate a warning on an implicit input specification. #4072

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Commits on Sep 25, 2020

  1. Generate a warning on an implicit input specification.

    The ability to implicitly specify inputs as referencing flakes of the
    same name is not specifically identified by the documentation (and
    it's not clear if this behavior is intended to remain in the future).
    
    If there is a typographical mismatch between an explicit input name
    and the argument used for the `output`, this will result in a more
    obscure error "cannot find flake 'flake:foo' in the flake registries",
    which leads the user in the direction of managing the registries
    instead of noticing the mis-spelling.
    
    By adding a warning when an implicit input is created, it can make it
    easier for the user to identify whether this was intended or whether
    they have made an erroneous typo resulting in mismatched names.
    kquick committed Sep 25, 2020
    Configuration menu
    Copy the full SHA
    7552d3c View commit details
    Browse the repository at this point in the history

Commits on Sep 26, 2020

  1. Configuration menu
    Copy the full SHA
    3a8e64d View commit details
    Browse the repository at this point in the history