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

Provide suggestions for invalid shape ID targets #466

Merged
merged 1 commit into from
Jun 15, 2020

Commits on Jun 13, 2020

  1. Provide suggestions for invalid shape ID targets

    When an invalid shape ID target is encountered, a "Did you mean X?" list
    of shape IDs are suggested if any shape IDs in a model have a Levenshtein
    edit distance of less than 2 characters. The shape IDs with the lowest
    distance from the invalid shape ID are suggested. Closes #464.
    
    This change also updates the error message for "shape has a/an `X`
    relationship..." so that is uses the appropriate indefinte articale
    based on if the relation type starts with a vowel.
    mtdowling committed Jun 13, 2020
    Configuration menu
    Copy the full SHA
    34ee417 View commit details
    Browse the repository at this point in the history