Uploaded image for project: 'netconf'
  1. netconf
  2. NETCONF-320

Query param fields - not working with more than one nested fields

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Sodium
    • None
    • restconf-nb
    • None
    • Operating System: All
      Platform: All

    • 7226

      Let's have a structure
      {
      "services": {
      "service": [
      {
      "type": "config:test",
      "instance": [

      { "name": "testName", "provider": "testProvider" }

      ]
      },
      ...

      GET request with query parameter fields=service(type;instance/name;instance/provider) results in error "Child instance node missing in instance".

      Request with fields=service(type;instance(name;provider)) is working fine.

      Both of them should work.

            JMorvay Jakub Morvay
            juraj.kosmel@pantheon.tech Juraj Kosmel
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: