Title: Compilation error with action delete · Issue #4 · polycube-network/polycube-codegen · GitHub
Open Graph Title: Compilation error with action delete · Issue #4 · polycube-network/polycube-codegen
X Title: Compilation error with action delete · Issue #4 · polycube-network/polycube-codegen
Description: When the YANG data model includes an action called delete, like in firewall service [1], the generated code includes methods called delete(...). This is causing a compilation error because delete is a c++ reserved keyword. A possible sol...
Open Graph Description: When the YANG data model includes an action called delete, like in firewall service [1], the generated code includes methods called delete(...). This is causing a compilation error because delete i...
X Description: When the YANG data model includes an action called delete, like in firewall service [1], the generated code includes methods called delete(...). This is causing a compilation error because delete i...
Opengraph URL: https://github.com/polycube-network/polycube-codegen/issues/4
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Compilation error with action delete","articleBody":"When the YANG data model includes an action called `delete`, like in firewall service [1], the generated code includes methods called `delete(...)`.\r\nThis is causing a compilation error because `delete` is a c++ reserved keyword.\r\n\r\nA possible solution could be a check in code generation tools that adds a suffix to delete method, e.g. `deletes` or `delete_action`.\r\n\r\n[1]\r\n```\r\n action delete {\r\n input {\r\n uses \"firewall:rule-fields\";\r\n }\r\n }\r\n```","author":{"url":"https://github.com/mbertrone","@type":"Person","name":"mbertrone"},"datePublished":"2019-05-21T15:05:43.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/4/polycube-codegen/issues/4"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:f394bc80-e36f-2d96-53a5-3093053666d9 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | ECFC:3D23FA:1415E3:1A6FC0:698E6997 |
| html-safe-nonce | 93392249079dd5c5207913b55aa498e3e29655f464b2dae9a571827c42177ef9 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQ0ZDOjNEMjNGQToxNDE1RTM6MUE2RkMwOjY5OEU2OTk3IiwidmlzaXRvcl9pZCI6IjI5OTU5MDk1MjIzMjc3NTkyNTUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 6fc23e9308cfa8cba5fe5abe596485819dd4d829d4ace9e6872f1e26a71d9e77 |
| hovercard-subject-tag | issue:446673176 |
| github-keyboard-shortcuts | repository,issues,network-graph,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/polycube-network/polycube-codegen/4/issue_layout |
| twitter:image | https://opengraph.githubassets.com/5fd761b4d8a7f3cf3ea5a4686822603e3943e571b423b6bb8e0b85735ed01f7d/polycube-network/polycube-codegen/issues/4 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5fd761b4d8a7f3cf3ea5a4686822603e3943e571b423b6bb8e0b85735ed01f7d/polycube-network/polycube-codegen/issues/4 |
| og:image:alt | When the YANG data model includes an action called delete, like in firewall service [1], the generated code includes methods called delete(...). This is causing a compilation error because delete i... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mbertrone |
| hostname | github.com |
| expected-hostname | github.com |
| None | 666e30cc1de8ebdf458084bf731e95deba4f074a5008f91b50803aa9a71e3725 |
| turbo-cache-control | no-preview |
| go-import | github.com/polycube-network/polycube-codegen git https://github.com/polycube-network/polycube-codegen.git |
| octolytics-dimension-user_id | 41177404 |
| octolytics-dimension-user_login | polycube-network |
| octolytics-dimension-repository_id | 179567894 |
| octolytics-dimension-repository_nwo | polycube-network/polycube-codegen |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 179567894 |
| octolytics-dimension-repository_network_root_nwo | polycube-network/polycube-codegen |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | c5daa44975c44e187dd9ea0d761c37973489d508 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width