Uploaded image for project: 'Aurora'
  1. Aurora
  2. AURORA-1475

aurora --bind should throw error if bound key is not found

    XMLWordPrintableJSON

Details

    • Task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Client
    • None

    Description

      If my aurora file has this:
      class Profile(Struct):
      extra_args = Default(String, "")
      And I bind with
      aurora create -bind profile.extra_args="-debug" path/to/config.aurora
      then everything is great. If I change the name in my aurora config to "extra_serving_args" or something, or mistype it on the command line, everything is terrible!

      We have static checks for template substitutions within the aurora file, and elsewhere we have static checks for flag values, so let's add some static checks here!

      This has been a frustrating and seemingly never-ending source of bugs for us on semantic-tooling, as we bind a lot in our templates.

      Attachments

        Activity

          People

            Unassigned Unassigned
            maximk Maxim Khutornenko
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: