You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Changes that were needed to use SDK 6.0-alpha1 in Firely Server:
ElementNodeExtensions.ToScopedNode changed return to IScopedNode, so any code that relied on concrete type needed to be adjusted, either with upcasting, or wrapping in ScopedNode, but that has some side-effects (losing fullUrl, Parent)
Base no longer implements IReadOnlyDictionary<string, object> causing collection initializers to fail. Example below no longer compiles with error that the type does not implement IEnumerable
new Parameters {{"rawResult", new FhirString(json)}};
SearchParamType moved namespaces, which led to conflicts with FS copy of the enum
SearchParamDefinition moved namespace, needed to fix references
In this test, the second ShortPath is equal to Location now as it fails on this behaviour - if it would rather check for IShortPathGenerator it would work as expected
SourceNode.Valued and SourceNode.Resource changed nullability, so some calls needed !
FhirTypeAttribute.IsResource removed, some logic needed to be adjusted for that
Base.NamedChildren removed, replaced with EnumerateElements for the same behaviour
FhirJsonSerializationSettings gone from ITypedElement.ToJson
We should go over them and see which ones can be avoided or softened. In any case, we should check that these are documented in the change wiki.
The text was updated successfully, but these errors were encountered:
Changes that were needed to use SDK 6.0-alpha1 in Firely Server:
ElementNodeExtensions.ToScopedNode
changed return toIScopedNode
, so any code that relied on concrete type needed to be adjusted, either with upcasting, or wrapping in ScopedNode, but that has some side-effects (losing fullUrl, Parent)Base
no longer implementsIReadOnlyDictionary<string, object>
causing collection initializers to fail. Example below no longer compiles with error that the type does not implementIEnumerable
new Parameters {{"rawResult", new FhirString(json)}};
SearchParamType
moved namespaces, which led to conflicts with FS copy of the enumSearchParamDefinition
moved namespace, needed to fix referencesIShortPathGenerator
it would work as expectedSourceNode.Valued
andSourceNode.Resource
changed nullability, so some calls needed!
FhirTypeAttribute.IsResource
removed, some logic needed to be adjusted for thatBase.NamedChildren
removed, replaced withEnumerateElements
for the same behaviourFhirJsonSerializationSettings
gone fromITypedElement.ToJson
We should go over them and see which ones can be avoided or softened. In any case, we should check that these are documented in the change wiki.
The text was updated successfully, but these errors were encountered: