Uploaded image for project: 'yangtools'
  1. yangtools
  2. YANGTOOLS-1244 Do not use SchemaNode in yang-data
  3. YANGTOOLS-1245

Do not use DataSchemaNode in Anydata normalization

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Done
    • Icon: Medium Medium
    • 7.0.0
    • None
    • None
    • None

      NormalizedAnydata and NormalizableAnydata rely on DataSchemaNode to provide enough context to decode the data. This is made with the implicit assumption that DataSchemaNode.getPath() provides the context needed to perform things like leafref resolution.

      We have a better replacement in EffectiveStatementInference, which combines an EffectiveModelContext with an ordered list of EffectiveStatements – providing a simple-to-use alternative.

            rovarga Robert Varga
            rovarga Robert Varga
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: