Remove DataPostPath
[netconf.git] / restconf / restconf-nb / src / main / java / org / opendaylight / restconf / server / api / DatabindPath.java
index 6532d6d32458d3660b26b12c4fcd918e8cfe8d31..b92cfdbc5c4dfbc972d4ae8041572f21ee816b6c 100644 (file)
@@ -91,6 +91,12 @@ public sealed interface DatabindPath extends DatabindAware {
             requireNonNull(instance);
             requireNonNull(schema);
         }
+
+        // FIXME: this is the 'Datastore' constructor
+        public Data(final DatabindContext databind) {
+            this(databind, Inference.ofDataTreePath(databind.modelContext()), YangInstanceIdentifier.of(),
+                databind.schemaTree().getRoot());
+        }
     }
 
     /**