CESNET / libyang-cpp

C++ bindings for the libyang library
https://gerrit.cesnet.cz/q/project:CzechLight/libyang-cpp
BSD 3-Clause "New" or "Revised" License
10 stars 8 forks source link

OperationType::RpcYang #27

Open lePici opened 3 hours ago

lePici commented 3 hours ago

Hi, Would it be possible to add support for OperationType::RpcYang in the Context::parseOp()? I just tried adding case OperationType::RpcYang: to the Context::parseOp and everything seems to work as it should, but I haven't tried to test it more. Maybe also add RpcYang to DataNode::parseOp() for completeness, although I personally do not need this case.

jktjkt commented 2 hours ago

Sure, patches welcome.

jktjkt commented 1 hour ago

just to clarify - it seems that you already wrote that code, so please push what you have. The instructions for Gerrit are in the README, if you hit a problem, feel free to drop me a line or ping me over slack.