-
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
feat(CanvasForm): Add support for ErrorHandler #955
Conversation
a43a9cd
to
786a60c
Compare
@@ -53,7 +54,9 @@ export class CamelRouteResource implements CamelResource, BeansAwareResource { | |||
|
|||
getVisualEntities(): CamelRouteVisualEntity[] { | |||
return this.entities.filter( | |||
(entity) => entity instanceof CamelRouteVisualEntity || entity instanceof CamelOnExceptionVisualEntity, | |||
(entity) => | |||
entity instanceof CamelRouteVisualEntity || |
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.
In the future, the idea is to remove this section by moving CamelRouteVisualEntity
to the SUPPORTED_ENTITIES
array, this way, we just need to update the SUPPORTED_ENTITIES
array whenever there's a new Visual entity to support.
packages/ui/src/models/visualization/flows/camel-error-handler-visual-entity.ts
Show resolved
Hide resolved
786a60c
to
03aa5df
Compare
03aa5df
to
813e266
Compare
Currently, there's partial support for `oneOf` in the `uniforms` library. This commit adds a new `OneOfField` component that shows a selector to pick which schema should the form generate. Also, if a model is already defined, the closest schema is selected automatically. fix: KaotoIO#560 relates: KaotoIO#948
813e266
to
93f3eec
Compare
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.
Found just two things I'm uncertain about.
Thanks for reviewing this PR @tplevko 💪 |
Context
Currently, there's partial support for
oneOf
in theuniforms
library.This commit adds a new
OneOfField
component that shows a selector to pick which schema should the form generate.Also, if a model is already defined, the closest schema is selected automatically.
fix: #560
relates: #948
Reusing the internal ID will be implemented here: #962