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

Warn on empty strings #1158

Merged
merged 4 commits into from
Oct 20, 2022
Merged

Warn on empty strings #1158

merged 4 commits into from
Oct 20, 2022

Conversation

guhanthuran
Copy link
Contributor

Fixes #1087

Adds warnings whenever the user makes their Title or Description an empty string within their Instance, Code System, Structure Definition, or Value Set.

Testers would most likely want to test situations where Title or Description within these types exist but are empty strings.

Thanks for reviewing!

@guhanthuran
Copy link
Contributor Author

One question for reviewers: should we also add this functionality to MappingExporter?

@cmoesel
Copy link
Member

cmoesel commented Oct 11, 2022

One question for reviewers: should we also add this functionality to MappingExporter?

I don't think we need it on MappingExporter, but as discussed last week, it would be awesome to have tests for Extension, Logical, and Resource. I think they're all covered by your work in the StructureDefinitionExporter -- but it would be good to have the tests to show it!

@jafeltra jafeltra self-assigned this Oct 13, 2022
Copy link
Collaborator

@jafeltra jafeltra left a comment

Choose a reason for hiding this comment

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

This is looking good to me! I don't think I have any other comments besides the tests that @cmoesel mentioned.

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, @guhanthuran! Thank you for this!

@guhanthuran guhanthuran merged commit 38c14ac into master Oct 20, 2022
@jafeltra jafeltra deleted the cimpl-981-warn-on-empty-string branch May 4, 2023 15:39
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.

Warn on empty string
3 participants