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 string #1087

Closed
cmoesel opened this issue May 16, 2022 · 0 comments · Fixed by #1158
Closed

Warn on empty string #1087

cmoesel opened this issue May 16, 2022 · 0 comments · Fixed by #1158

Comments

@cmoesel
Copy link
Member

cmoesel commented May 16, 2022

FHIR indicates that string values should have at least one non-whitespace character (see: https://build.fhir.org/datatypes#string). SUSHI should warn users when they assign an empty string.

If this is complex to do for arbitrary assignments, we should at least do it for the major metadata keywords (Title:, Description:, etc) -- especially since the VS Code snippets produce empty strings for these by default.

See: https://chat.fhir.org/#narrow/stream/179252-IG-creation/topic/Miss.20leading.20QA.2Ehtml.20results/near/282548095

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 a pull request may close this issue.

1 participant