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

Do not create blank alias names + Update ANTLR #255

Merged
merged 2 commits into from
Mar 14, 2024

Conversation

jafeltra
Copy link
Collaborator

This PR makes a small update to no longer create empty string Alias names. This would happen when a URL that GoFSH tried to make an alias for ended in a /, such as http://example.org/test/url/. If the URL was just http://example.org/, GoFSH already properly handled using the hostname as an alias instead.

I also combined this with updating to the same ANTLR version that SUSHI is using, 4.13.1-patch-1, because the update didn't require any code changes. I'm happy to separate these out if that is preferred. I ran the tests, and they still work with the new antlr version, and there were no changes when running this branch on US Core.

Copy link
Member

@cmoesel cmoesel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@jafeltra jafeltra merged commit 30f9434 into master Mar 14, 2024
14 checks passed
@jafeltra jafeltra deleted the no-blank-aliases-plus-antlr branch March 14, 2024 15:25
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.

3 participants