Uploaded image for project: 'yangtools'
  1. yangtools
  2. YANGTOOLS-1399

Add OrderedByAwareEffectiveStatement

    XMLWordPrintable

Details

    • Improvement
    • Status: Resolved
    • Medium
    • Resolution: Done
    • None
    • 8.0.0
    • model-api
    • None

    Description

      A number of downstream users end up inquiring ordering of a leaf-list and list nodes. To make their life easier, provide a common OrderedByAwareEffectiveStatement, exposing an ordering() method, which performs the search.

      This will allow us to remove centralize the definition of (Leaf)ListSchemaNode.isUserOrdered() and define a default implementation – and remove UserOrderedMixin in future, once we do not rely on isUserOrdered() being fast.

      Attachments

        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: