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

Details

    • Sub-task
    • Status: Resolved
    • Medium
    • Resolution: Done
    • None
    • 7.0.0
    • None
    • None

    Description

      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.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: