-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Define deleteContent API in ChannelEditor #1527
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1527 +/- ##
=======================================
Coverage ? 69.90%
Complexity ? 62
=======================================
Files ? 276
Lines ? 7733
Branches ? 1474
=======================================
Hits ? 5406
Misses ? 2325
Partials ? 2 ☔ View full report in Codecov by Sentry. |
* Delete resource | ||
* @param path The path of the resource relatively to the currently edited Camel file | ||
*/ | ||
deleteResource(path: string): Promise<string | undefined>; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[curious-question]
- What could be in the returned in the
string
? - What about returning a
boolean
signaling the operation's success?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I went too fast. I implemented it with just Promise<void>, but we can return a boolean signaling the success.
let me update
relates to KaotoIO/vscode-kaoto#681 Signed-off-by: Aurélien Pupier <[email protected]>
e1a10cb
to
fd9e160
Compare
Quality Gate passedIssues Measures |
relates to KaotoIO/vscode-kaoto#681