Uploaded image for project: 'mdsal'
  1. mdsal
  2. MDSAL-477

Cross-reference codegen code with BindingVersions

    XMLWordPrintable

Details

    • Story
    • Status: Confirmed
    • Medium
    • Resolution: Unresolved
    • None
    • 14.0.0
    • Binding codegen
    • None

    Description

      Generated code needs to assert compatibility with CodeHelpers as well as general layout yang-binding. Performing this check should be light-weight and centralized.

      There are thjree entry points here:

      1. ModuleInfo, which is accessed by runtime and by any interfaces which have a QNAME field
      2. Builders, which are accessed by application code
      3. Value wrapper classes, which are accessed by both

      Each of these should capture BindingVersion.CURRENT at compile-time and issue callouts to BindingVersion checks at class initialization time.

      Attachments

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

        Activity

          People

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

            Dates

              Created:
              Updated: