-
Notifications
You must be signed in to change notification settings - Fork 2
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
Changes coming from Shim PR and running the original Tests #205
Conversation
# Conflicts: # src/Firely.Fhir.Validation/Impl/DatatypeSchema.cs # src/Firely.Fhir.Validation/Impl/ExtensionSchema.cs # src/Firely.Fhir.Validation/Impl/PatternValidator.cs # src/Firely.Fhir.Validation/Impl/ReferencedInstanceValidator.cs # src/Firely.Fhir.Validation/Impl/ResourceSchema.cs # src/Firely.Fhir.Validation/Impl/SchemaReferenceValidator.cs # src/Firely.Fhir.Validation/Impl/SliceValidator.cs # src/Firely.Fhir.Validation/Support/FhirSchemaGroupAnalyzer.cs # test/Firely.Fhir.Validation.Compilation.Tests.Shared/FhirTestCases
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work. Just one minor question.
/// Returns the slice name of the last slice in the path, or an empty string if there is no slice information. | ||
/// </summary> | ||
/// <returns>The slice name of the last slice in the path, or an empty string if there is no slice information.</returns> | ||
public string GetSliceInfo() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I hardly ever find returning empty strings useful, I think most people would expect null
if there is no sensible slice info, not an empty string. Or, if you want to make it explicit, call the method TryGetSliceInfo()
.
No description provided.