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

Throw an error when no matching sortOrder group #192

Merged
merged 3 commits into from
Nov 6, 2024
Merged

Conversation

IanVS
Copy link
Owner

@IanVS IanVS commented Oct 31, 2024

Closes #190

This adds a more understandable error message when we encounter an import that does not fit into any group within sortOrder. I think the only time that should happen is when the user adds groups with <TYPES>^..... but no fallback <TYPES> bucket. We could try to shove one in somewhere automatically like we do with <THIRD_PARTY_MODULES>, but that could be pretty confusing and I don't know where it should go in that case. This also includes a hint about how to fix the error.

@IanVS IanVS requested a review from fbartho October 31, 2024 16:41
@IanVS IanVS merged commit d218cab into main Nov 6, 2024
8 checks passed
@IanVS IanVS deleted the error-missing-group branch November 6, 2024 20:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Confusing error thrown when no matching importOrder is found
1 participant